[jQuery] Question regarding JQuery tabs UI

2007-11-29 Thread cjiang
Hi, I am working on an application in which I use JQuery Tabs plugin. The basic layout of the page is that there is a tree structure on the left side of the page. When the user clicks on any node of the tree, it fires an Ajax call and the server returns a fragment of html which includes tabs.

[jQuery] Re: Question regarding JQuery tabs UI

2007-11-29 Thread cjiang
the tabs really get tabified. Thanks, Changsu On Nov 29, 5:46 am, Klaus Hartl [EMAIL PROTECTED] wrote: On 29 Nov., 05:54, cjiang [EMAIL PROTECTED] wrote: Hi, I am working on an application in which I use JQuery Tabs plugin. The basic layout of the page is that there is a tree structure

[jQuery] Re: Tablesorter + pager question/bug?

2007-11-17 Thread cjiang
Hi, I think you can solve the problem by doing the following: $('table').tablesorter({widthFixed: true}) .tablesorterPager({container: $(#pager), positionFixed: false}); by passing the positionFixed default setting to false, the fixPosition method will be got called whenver you change the

[jQuery] Re: AJAX Response script is not executed

2007-11-16 Thread cjiang
Hi, There might be one possibility that 1) you are using the latest JQuery release, and 2) the return javascript is not in the root level script tag (ie, you have someting like div (or whatever) ...script Your javascript code /script... /div. If this is the case, due to JQuery's bug, the

[jQuery] Re: additional events

2007-11-07 Thread cjiang
Or you can use livequery plugin, like this: script type=text\javascript src=PATH_TO_jquery.livequery.js/ script script $(document).ready(function() { $(.button_plus).livequery('click', function() { $(this).load( ajax.php, {template: testTR}, function(output){

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-07 Thread cjiang
Hi, I had the same experience as Tane. In the beginning, because of the JQuery's bug that non-root level script cannnot be evaluated after Ajax call in 1.2 release, I used livequery a lot, and did find that the page was not very responsive. The performance is getting better after I removed some

[jQuery] Re: using load() to retrieve multiple values

2007-11-06 Thread cjiang
Hi, You could try the JQuery Taconite Plugin. http://www.malsup.com/jquery/taconite/#overview Regards, Changsu On Nov 4, 9:32 am, stef [EMAIL PROTECTED] wrote: using the code below, im trying to populate the textfield and the textarea with data stored in my db. HTML PAGE: head

[jQuery] Re: Scoping selector to parent window

2007-11-06 Thread cjiang
Hi, What you can do is like the following: $(#i-agree).click(function(){ window.opener.$(#accept-terms).attr(checked,checked); window.close(); }); regards, Changsu On Nov 6, 5:23 am, Robert O'Rourke [EMAIL PROTECTED] wrote: Hi everyone, I've got a quick question, say I

[jQuery] Re: Execution of Javascript code in Ajax response in IE and Safari (http://dev.jquery.com/ticket/1598)

2007-11-06 Thread cjiang
Thanks for the reply. Changsu On Nov 6, 9:49 am, polyrhythmic [EMAIL PROTECTED] wrote: You can see from the ticket that John re-fixed it in SVN only 3 weeks ago, so it's not in 1.2.1 but will be in the next minor release. Charles On Nov 5, 5:20 pm, cjiang [EMAIL PROTECTED] wrote

[jQuery] Re: Overwrite div with .load()

2007-11-05 Thread cjiang
Hi, I think your code should work if you change the $('tabs-content').load(content+' .entry'); to $('.tabs-content').load(content+' .entry'); On Nov 4, 2:24 pm, ryanfitzer [EMAIL PROTECTED] wrote: I'm trying to create tabbed content (without a plugin for now) via .load(). The initial page

[jQuery] Execution of Javascript code in Ajax response in IE and Safari (http://dev.jquery.com/ticket/1598)

2007-11-05 Thread cjiang
This is filed as Ticket #1598, and supposedly it is fixed in release 1.2.1 version. But I still couldn't get it work with 1.2.1. until I patched the JQuery with the patch submitted for Ticket #1698. http://dev.jquery.com/ticket/1698. Does anyone know if this bug has been fixed or not in release

[jQuery] Re: Dynamically created input/button not responding to click event

2007-11-05 Thread cjiang
My guess is that when you dynamically create a new button, the click event handler won't be bound to it. So if you use livequery plugin, it may work. Something like this: $(function(){ $(.removeButtonClass).livequery('click', function() { alert(handler worked); })