Skip to main content

Search and Top Navigation

#4532 closed enhancement (worksforme)

Opened May 14, 2009 04:27PM UTC

Closed May 17, 2009 01:22PM UTC

Last modified October 11, 2012 09:15PM UTC

Tabs should have the ability to load via AJAX via POST requests

Reported by: Owned by:
Priority: minor Milestone:
Component: ui.tabs Version: 1.7.1
Keywords: ui tabs ajax post Cc:
Blocked by: Blocking:

I have a need to be able to send larger quantities of data at our server than IIS permits by default in the query string so I would like to be able to specify something like:

var URL = 'SomeWhere.cfc?Method=RenderPreview';
var Data = {};
Data.Message = tinyMCE.get('Message_'+IANATag).getContent();
Data.BlahBlah = $('#BlahBlah').val();
Data.TacoWaffle = $('#TacoWaffle').val();
$('#EmailTemplateEditor').tabs('add',URL,Data,'Preview ('+IANATag+')');

...Where the fourth argument is the optional label - optional fifth is index.

Attachments (0)
Change History (3)

Changed May 17, 2009 01:22PM UTC by jzaefferer comment:1

resolution: → worksforme
status: newclosed

You can set the post method via ajaxOptions:

Changed May 18, 2009 06:10AM UTC by comment:2

Cool. I'm not around the computer with my code right now so I can't play around with it -- but, I don't see how I send data with the UI Tab's add method? Could someone please enlighten me with the syntax? Or do I need to change the ajaxOptions's 'data' key before every add? If so, how can I add multiple AJAX tabs with different datasets and have them lazy-load when a user clicks on them? Sounds like something I'd have to manage - which is fine... but, yeah.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted