Welcome Guest, Not a member yet? Register   Sign In
What's the underlying name-value parameter structure look like?
#6

[eluser]Nick_MyShuitings[/eluser]
Wayne,

That script is somewhat odd. I'm a personal fan of jQuery, and tools like fancybox work right out of the install.

Check out the example at http://fancybox.net/ of the ajax. Its based on jQuery and uses the jQuery .post() or .load() functions.

I don't know how much time you've put into implementing that script, but it seems very limited.

from the example I sent I just tested this:

Code:
HTML

<a id="various3" href="example.com/controller/model/paremeter">Ajax - passing custom data</a>

JS

$("#various3").fancybox({
        ajax : {
            type    : "POST",
            data    : 'mydata=test'
        }
    });

OOOOORRRR

HTML

<a id="various3" href="example.com/controller/model">Ajax - passing custom data</a>

JS

$("#various3").fancybox({
        ajax : {
            type    : "POST",
            data    : 'ParameterNameForPost=ParameterValue'


Messages In This Thread
What's the underlying name-value parameter structure look like? - by El Forum - 01-06-2011, 09:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB