Dave Dave - 1 year ago 143
Ajax Question

JQuery SmartWizard: Dynamic ajax content

I'm using JQuery SmartWizard and it has the ability to load content using Ajax, but I do not see how to pass any parameters to the server. Am I missing something?

It seems like the purpose of having Ajax is to send parameters to the server, and get back different content depending on input parameters, right? I only see a step_number parameter, but I don't know how or if that can be altered, since there are a static number of steps. Thanks.

Answer Source

you pass variables to the server using the url. file.php?do=nothing&name=john&relaxmode=on

function getdata(url,id,lastseen)
        if(data.indexOf(’alive’)!=-1)alert(’he is alive’)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download