[jQuery] Re: don't get it: how to pass a variable to a callback function

2008-01-13 Thread antiheld2000
so, no ideas? i explain my problem, maybe someone has an idea for a workaround: i have 5 pages with forms. i want the user to navigate through the forms by clicking on links, not clicking on submit buttons. logically the form has to be submitted, when a link is clicked. so i need to call a callba

[jQuery] Re: don't get it: how to pass a variable to a callback function

2008-01-11 Thread antiheld2000
hm , ijust tried it, but it didn't work. did i make a mistake?: var options = { success: function() { jQuery('div#adv_content').load('inc/de.application.adv.inc.php? page='+pageNumber); $("body

[jQuery] Re: don't get it: how to pass a variable to a callback function

2008-01-11 Thread Steve Brownlee
Why not just make the showResponse() function an inner, anonymous function of onSuccess()? var options = { success: function() { jQuery('div#adv_content').load('inc/ de.application.adv.inc.php?page='+pageNumber); } url: 'inc/application.adv.func.php' } O