Man, I have no idea what I'm doin.
hehe, i often feel that way, too :)
Ahhh thank you! I will give it a shot tonight. And the JS you posted does
indeed go in product_add.cfm, correct?
Thanks much,
Will
~|
Want to reach
your form processing javascript will then look something like this:
Ahh yes, this works! I just need to stick a .tabs() in there that selects the
next tab after submission.
Thanks!
Will
~|
Want to reach the ColdFusion
Man, I have no idea what I'm doin.
hehe, i often feel that way, too :)
Hot damn! I'm gettin' fancy now. Check this out.
I decided to try and preselect the categories tab after the product is added.
Like a wizard. I'm also passing my ID to each tab so you can use them for
inserting into
[mailto:w...@wtomlinson.com]
Sent: Monday, June 01, 2009 9:44 PM
To: cf-talk
Subject: jQuery Guru guidance needed
I'm using jQuery Tabs to rebuild my ancient product admin. Trying to slicken
it up a bit. As a product is added, I need the tab .cfm's, and the parent to
pass around the prod ID
go here: http://jqueryui.com/demos/tabs/
click on Methods tab. read about the 'URL' method.
presumably, your product_add.cfm page adds a product using ajax post? if
so, the callback function should receive the id of newly added product
and then call the url() method on the other tabs (and maybe
a safe bet would be to define all your js in the main page (tabs.cfm).
but particulars depend on your code...
how are you submitting your add product form? are you using jquery (i.e.
$.ajax or $.post) or are you using cf8 built-in ajax features
(cfajaxproxy or ColdFusion.Ajax.submitForm())?
a safe bet would be to define all your js in the main page (tabs.cfm).
but particulars depend on your code...
how are you submitting your add product form? are you using jquery (i.e.
$.ajax or $.post) or are you using cf8 built-in ajax features
(cfajaxproxy or ColdFusion.Ajax.submitForm())?
Man, I have no idea what I'm doin.
hehe, i often feel that way, too :)
i do not know what your processProd.cfm exactly does and what it
returns, but it MUST return the new product ID.
in its simplest form, make sure that your processProd.cfm does not
return anything but the new product id (no
I'm using jQuery Tabs to rebuild my ancient product admin. Trying to slicken it
up a bit. As a product is added, I need the tab .cfm's, and the parent to pass
around the prod ID variable to each other.
The tabs I'm using: http://docs.jquery.com/UI/API/1.7/Tabs
I have a parent page that
go here: http://jqueryui.com/demos/tabs/
click on Methods tab. read about the 'URL' method.
presumably, your product_add.cfm page adds a product using ajax post? if
so, the callback function should receive the id of newly added product
and then call the url() method on the other tabs (and maybe
go here: http://jqueryui.com/demos/tabs/
click on Methods tab. read about the 'URL' method.
presumably, your product_add.cfm page adds a product using ajax post? if
so, the callback function should receive the id of newly added product
and then call the url() method on the other tabs (and maybe
11 matches
Mail list logo