Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#4788 closed bug (worksforme)

Tabs: ('.selector').tabs

Reported by: met00cigar Owned by:
Priority: major Milestone:
Component: ui.tabs Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:



<script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src=""></script>

in the applications .js file

var selected = $('.selector').tabs('option', 'selected');


F is undefined jquery-1.3.2.min.js - line 12

in the Error Console

[actual function is a dialog with a form, when the button is pressed it calls a function that is bound to that button. Since the form is run off many tabs, we need to know what tab they were on to know how to respond to the form. code below is the bind of the function to the button. the button fails throwing the error above into the error console when pressed]

$('#subcontactus').click(function() {

var selected = ""; var selected = $('.selector').tabs('option', 'selected'); var ltype = '&tab='+selected; var email = 'email='+ $('#cemailuser').val(); var rcode = '&rcode='+ $('#rcode').val(); var msg = '&msg='+ escape($('#msg').val()); var pdata = email+ltype+rcode+msg;

alert("Load: " + pdata ); debug/testing line

contactus(pdata); commented out for testing, this is the ajax routine });

Change History (2)

comment:1 Changed 14 years ago by Scott González

Resolution: worksforme
Status: newclosed

This works for me. If you continue to have problems, feel free to reopen this ticket if you can attach a simple test case showing the error.

comment:2 Changed 11 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.