Skip to main content

Search and Top Navigation

#4788 closed bug (worksforme)

Opened August 18, 2009 11:28PM UTC

Closed October 06, 2009 01:16AM UTC

Last modified October 11, 2012 09:15PM UTC

Tabs: ('.selector').tabs

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

Using:

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

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>

in the applications .js file

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

generates

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

});

Attachments (0)
Change History (2)

Changed October 06, 2009 01:16AM UTC by scottgonzalez comment:1

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.

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

milestone: TBD

Milestone TBD deleted