Hello,
I’m writing a custom CMS and a search form needs to be processed. I’m using AJAX for loading the content in to the right div, so no page refresh.
The form has 6 dropdown menu’s and I want to obtain the values of the form and use them in the URL I sent to the processing page, usign loadintodiv function I use.
The function is these:
javascript:loadintodiv(‘page.php’, ‘the div’)
I tried the code beneath these text, but it doesn’t work. Does anyone know the solution?
Thank you in advance
[CODE]javascript:loadintodiv(‘bedrijven/verwerkuwselectie.php?land=’ + form.land_van_vestiging.value + ‘&beurs=’ + form.beurs.value + ‘&activiteit=’ + form.activiteit_bedrijf.value + ‘&omzet=’ + form.omzet.value + ‘&winst=’ + form.winst.value+ ‘&investeringsoordeel=’ + form.investeringsoordeel.value + ‘,’content’)