[jQuery] Re: malsup's corners: strange top nudges in IE6 and Opera

2009-09-23 Thread KlausR
Dear Mike, thanks for taking care. There is a production version of my new website at http://linuxvdr.kicks-ass.net/mo_leap/ The machine is only running at daytime CEST but I would be glad if you could have a look at it - especially with Opera or IE6. Best, Klaus On Sep 21, 7:09 pm, Mike

[jQuery] Re: Expandable sidebar

2009-09-23 Thread Liam Potter
$(function(){ //shrink sidebar after 5 seconds setTimeout(shrink(),5000); $(div#sidebar).bind('mouseover',function(){ $(this).animate({width: 150},500); } $(div#sidebar).bind('mouseout',function(){ shrink();

[jQuery] Re: Chaining animation effects on different elements...

2009-09-23 Thread ryan.j
i had a look at your method last night, and i ran into the same problems i did trying to use setTimeout and $arr.each() to iterate the func. If i do... for (i=1; i=$arr.length; i++) { var tmp = self.setInterval( rndAnim(+i+) , 2000 ); } ...then [ i ] instances of rndAnim execute

[jQuery] Re: Chaining animation effects on different elements...

2009-09-23 Thread Liam Potter
Yeah, the for loop will not wait for whatever it is executing, lets try something a bit different. You will need to store the elements in an array. total = 0; elements = new Array(); $(body).find(div.class).each(function(elem){ elements[elem] = $(this).attr(id); total++ }); i = 0;

[jQuery] [jquery-in-place-editor] Success function

2009-09-23 Thread Cyril Lopez
Hi I'm using Dave Hauenstein's Jquery in place editor ( http://code.google.com/p/jquery-in-place-editor/). I don't know how using the success function in order to display a message if server responds with a success. I tried with success : success: function(data,elem){

[jQuery] Re: Single page application and jQuery

2009-09-23 Thread DBJDBJ
@Phaedra I trust you are not a beginner but here we see a jQuery beginners code ;o) If I may intsruct you ? Ok. Number one source of confusion and leaks or leaks is repeated calling of $() function. $(div id='container'/).appendTo(body); First div html markup above is not 100% ok, and this

[jQuery] Location Pathname jQuery Version?

2009-09-23 Thread william
Hello everyone! I'm a graphic designer and I'm just getting my hands into this fabulous tool. We are building a site with a system that only allow us to have one template. We have a javascript code to select specific pages (getting it from the url I guess). Right now everything is find but we

[jQuery] UI slider with vertical orientation: change direction from top to bottom

2009-09-23 Thread timish
Hi everyone, i'm using the 1.7.2/Slider and i'm quite pleased with it. The only thing that bothers me is how to change the direction of the slider when in vertical orientation. The default values are: min at bottom, max at top, but I want to reverse that, so the slider always starts from top to

[jQuery] permission to redistribute Superfish

2009-09-23 Thread andrea
Attention: Joel Birch Hello Joel, thank you for your work with Superfish! I'd like to integrate Superfish into Menubar (http://wordpress.org/ extend/plugins/menubar), a WordPress plugin I wrote which simplifies menu creation and management in WordPress. I won't modify Superfish, but I'd like

[jQuery] doubt in jquery context menu plugin

2009-09-23 Thread chiru
Hello sir/mam, I'm using jQuery context menu plugin. The issue i am facing is i'm using context menu to create rows and columns when i click on the child div present in row with unique id. its taking the parent id because i'm using context menu for both parent and child.some conflict is coming

[jQuery] Execute jQuery from links

2009-09-23 Thread Servous
Hi! I wonder if it's possible to execute jQuery events directly from a link, just like common javascript. Something like this: a href=# onclick=javascript:$(test).toggle();test/a I'm aware that this doesn't work, but is there any way to execute it like this instead of inserting a whole

[jQuery] Re: Execute jQuery from links

2009-09-23 Thread ryan.j
take the javascript: protocol thingy out, that's for if you put it in the href isn't it? On Sep 23, 11:21 am, Servous serv...@gmail.com wrote: Hi! I wonder if it's possible to execute jQuery events directly from a link, just like common javascript. Something like this: a href=#

[jQuery] Re: Chaining animation effects on different elements...

2009-09-23 Thread ryan.j
i was under the impression that the nested callbacks were doing something similar to a self-referencing function in terms of leaving stuff hanging around in memory (that could just be me misunderstanding exactly what the callbacks are doing to be honest) but this would certainly eliminate the

[jQuery] Re: Single page application and jQuery

2009-09-23 Thread Mike Alsup
$(div id='container'/).appendTo(body); First div html markup above is not 100% ok, and this kind of html is deliberately not going to be handled properly by jQuery. Ouch. Deliberately not handled properly? That is certainly not true. jQuery itself uses this very syntax. Phaedra, how are

[jQuery] Re: Bezier curves and animation

2009-09-23 Thread rnivash
Great work. I downloaded the jquery.path.js. ryan.j wrote: that's rather nice :) On Sep 22, 1:05 pm, weepy jonah...@gmail.com wrote: Hey I just released a plugin that allows multidimensional animation for jQuery. This is useful for Bezier Curvers among other things. Article is here

[jQuery] Re: Chaining animation effects on different elements...

2009-09-23 Thread Liam Potter
My understanding of javascript/programming theory leans more to the low end of the scale so I wouldn't know how similar nested callbacks and self-referencing functions actually are. Someone with a better understanding could probably explain a much more efficient way of getting this done,

[jQuery] how to apply sorting when i have rowspan and colspan in my table with table sorter plugin

2009-09-23 Thread keerthana
I have more than one row in my THEAD and i want to apply sorting on the lower most row in THEAD. how to pass the row index of the table header on which i want to apply sorting. I think we need to pass the header row index in this following piece of code which is present in

[jQuery] Re: UI slider with vertical orientation: change direction from top to bottom

2009-09-23 Thread Richard D. Worth
I recommend you use it as is and treat the max as the min, the min as the max, and get the current value by max - value. Also note, there's a dedicated list for questions about jQuery UI plugins, should you have any more: http://groups.google.com/group/jquery-ui

[jQuery] Re: Validating Submit from Image Button (Validate)

2009-09-23 Thread Leonardo K
You code is missing a comma after each rule On Tue, Sep 22, 2009 at 10:34, Dakuwan daku...@gmail.com wrote: Tracked it down to the rules area, there was an unclosed }. On Sep 21, 4:47 pm, Dakuwan daku...@gmail.com wrote: I am having the following issue, when I try using an image to post I

[jQuery] Re: Single page application and jQuery

2009-09-23 Thread Phaedra
Phaedra, how are you identifying the number of leaked nodes? I'm using sieve 0.08. I take note of the used nodes in the home page, then, i open a dialog (jquery), again take note of the nodes. After closing it the nodes are always there, removed in the dom but always there in memory. These

[jQuery] Re: Single page application and jQuery

2009-09-23 Thread Phaedra
Phaedra, how are you identifying the number of leaked nodes? I'm using sieve 0.08. I take note of the used nodes in the home page, then, i open a dialog (jquery), again take note of the nodes. After closing it they are always there, removed in the dom but always there in memory. These nodes are

[jQuery] JQuery ui dialog issue

2009-09-23 Thread g...@iec
Hi all, I have an issue. I am showing modal loading dialog while making ajax call. My dialog config is shown below : $('#loadingSearch').dialog({ autoOpen: false, modal: !$.browser.msie, bgiframe: true,

[jQuery] Re: + sortable?

2009-09-23 Thread Mean Mike
I am currently trying to get jtree to do this it is very light weight I and easy to use but it may be too light weight I need to figure out how to get the reordered tree to work with nested sets so I'm not sure if I use jqeury to renumber the left and right or if I send ajax to php and do

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
i can't reproduce on a test page. I updated to 1.5.5, but no change. the page in question is dynamically generated using AJAX data calls. i can see the error label in the js console: $(label.error).length 1 $(label.error).toHtml() LABEL class=error for=orders[4].elements[2].Value

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread Jörn Zaefferer
Try this: $(label[for='orders[4].elements[2].Value']).length On Wed, Sep 23, 2009 at 3:17 PM, chief7 chi...@gmail.com wrote: i can't reproduce on a test page.  I updated to 1.5.5, but no change. the page in question is dynamically generated using AJAX data calls. i can see the error label

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
This is an issue in IE7, IE8, FF3 and Chrome 3. On Sep 23, 8:17 am, chief7 chi...@gmail.com wrote: i can't reproduce on a test page.  I updated to 1.5.5, but no change. the page in question is dynamically generated using AJAX data calls. i can see the error label in the js console:

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
Still 0. On Sep 23, 8:20 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Try this: $(label[for='orders[4].elements[2].Value']).length On Wed, Sep 23, 2009 at 3:17 PM, chief7 chi...@gmail.com wrote: i can't reproduce on a test page.  I updated to 1.5.5, but no change. the

[jQuery] Re: Clickable autocomplete, like google

2009-09-23 Thread theosoft
I'm sort of trying to do the same thing and I got it working, to an extent. The only problem is that I'm not using JSON and when I tried to use JSON, it didn't display any search results, even though Firebug showed the results were working. I'm using a php backend. Here's what I have in my

[jQuery] Need a callback function to delay processing...

2009-09-23 Thread Rick Faircloth
How can I make a callback function that delays the functioning of the last 4 lines below until after the form that's submitted by this code is completely processed. Images are being processed on the server side and that takes a few seconds. Right now my response dialog ( last line) is

[jQuery] Re: Need a callback function to delay processing...

2009-09-23 Thread Mike McNally
Put the stuff you want to have happen after the form loads either in the response page from the form submission, or else put them as something like an event handler on an element and have the form response include some code to trigger the event. If you submit stuff with the jQuery AJAX routines,

[jQuery] Re: Single page application and jQuery

2009-09-23 Thread DBJDBJ
@Mike ... by deliberately I meant differently than in previous versions of jQuery, which were more forgiving. There are links to relevant texts, I am sure ... maybe this : http://www.learningjquery.com/2009/03/43439-reasons-to-use-append-correctly @Phaedra ... thanks for not re-acting in anger

[jQuery] Wait until animation completed - callback?

2009-09-23 Thread Merlin
Hi there, I am building huge list with subcategories in each category that fade out once the mouse is placed over the category. It works great, BUT the problem is, if your mouse goes down the list vertically and the subcategories are fiew, then the obove subcategories fade out and your mouse is

[jQuery] Re: Single page application and jQuery

2009-09-23 Thread DBJDBJ
http://code.jquery.com/jquery-nightly.js is there any difference if you try this one ? --DBJ

[jQuery] Adding a new feature to the Reflection.js plugin (Image reflection embedded in a carousel)

2009-09-23 Thread maurizio.fo...@yahoo.it
Hi all, I'm new to this group, nice to meet you everyone. I've been using jQuery for some time, and now I'm trying to create a super-fancy image carousel with a functionality similar to the one of this page: http://www.lafeltrinelli.it/fcom/it/home.html (in the middle of the page, the tabbed

[jQuery] ajax returned data format

2009-09-23 Thread Florian Motteau
Hi all, I've been working with jQuery for a few weeks now (still a noob so :), and I'm a bit confused about getting information from a php file. Basically : MY JAVASCRIPT FILE: $.get(phpfile.php, {param:param...}, function(data) { if(data == ok) { ...do stuff... } }) MY PHP FILE: ?php

[jQuery] read cross-domain html content

2009-09-23 Thread Hundredth Monkey
hi, since a few days i try to load external html content from another domain. obviosly it is hard to access cross domain content wit javascript ajax methodes. first i' ve tried iframes but access denied. after that I' ve tried $.ajax but all request returned zero byte data from server. here is a

[jQuery] [JQuery][Struts 2] Link 3 select tags with JQuery

2009-09-23 Thread Nicolas Benhamou
Hi, I'm totally new with Struts 2 JQuery. I have 3 s:select populated via 3 linked hierarchic tables : GROUP (id_group, group) CATEGORY (id_category, id_group, category) SKILL (id_skill, id_category, skill) s:select name=group id=group headerKey=0

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
I created a test page - http://pastie.org/627543 steps to reproduce: -open the page in a browser -add a letter to one of the amount inputs -click on another input -the validation should show -go back to the same input and remove the letter you added -the error should be hidden but its not On

[jQuery] More Jquery calls on a page

2009-09-23 Thread Topflysecurity
hi. i always seem to have problems with this so i thought i would join here and ask. i cant use two different jQuery calls on the same page in two different script tags, something like this the reason i need to work like this is because i do asp.net... so i got the first one on my masterpage

[jQuery] Re: More Jquery calls on a page

2009-09-23 Thread Jon Banner
You should be able to do this without problem. http://www.learningjquery.com/2006/09/multiple-document-ready 2009/9/23 Topflysecurity konnektgra...@gmail.com hi. i always seem to have problems with this so i thought i would join here and ask. i cant use two different jQuery calls on the

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
Cleaned up the test page: http://pastie.org/627561 On Sep 23, 10:35 am, chief7 chi...@gmail.com wrote: I created a test page -http://pastie.org/627543 steps to reproduce: -open the page in a browser -add a letter to one of the amount inputs -click on another input -the validation should

[jQuery] slideviewer looks messed up upon pageload and then snaps back

2009-09-23 Thread Dorono
Hello all, I am working on a photo blog here: http://tinyurl.com/kp8zwo which is based upon the slideViewer (http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html) If you'll notice, the jQuery image slider I've got on the homepage works, but the client is

[jQuery] Re: read cross-domain html content

2009-09-23 Thread Michael Geary
It can't be done. Cross-domain JSON is actually JSONP, which uses a dynamic script element. You can load a script element from any domain; that's why JSONP works. If you can't get the other domain to give you JavaScript code such as JSONP, then your only other option is to use a proxy on your

[jQuery] Re: Need a callback function to delay processing...

2009-09-23 Thread Rick Faircloth
Hi, Mark, and thanks for the reply... put them as something like an event handler on an element and have the form response include some code to trigger the event This is what I'm not sure how to accomplish in my code below. Can you provide a code example? Thanks for any suggestions! Rick

[jQuery] Re: read cross-domain html content

2009-09-23 Thread Hundredth Monkey
thnx for reply, yes i' ve found proxy solutions before. i think its ugly because it will cost my traffic. all i want to do is to check a external page for a backlink. but i understand... u mean my browser tries to convert to javascript object... hmmm , seems theres realy no way to load cross

[jQuery] Re: Need a callback function to delay processing...

2009-09-23 Thread Rick Faircloth
I think there is an event listener right in the code below: By placing additional processes in this block: jFrame.load(function(objEvent) { the processing is delayed until after the files are loaded. I think I'm on the right track. Rick -Original Message- From:

[jQuery] Re: Clickable autocomplete, like google

2009-09-23 Thread theosoft
My solution: Since I'm using PHP 5.2+, I'm able to use the json_encode function like this: while($speaker = mysql_fetch_object($speaker_query)){ $encodable[] = $speaker; } $encoded = json_encode($encodable); echo $encoded; Then, in the javascript function: var searchurl =

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-23 Thread Charlie Griefer
On Tue, Sep 22, 2009 at 4:41 PM, WalterGR walte...@gmail.com wrote: On Sep 22, 4:35 pm, Ricardo ricardob...@gmail.com wrote: This doesn't make any sense. If you're already using jQuery why keep your handler in the HTML? Because I need to pass additional information to the event handler

[jQuery] Re: read cross-domain html content

2009-09-23 Thread Michael Geary
Right, a dynamic script element is the only browser-based way around the cross-domain restriction. You can load a script from any domain, but you can't use that ability to read an HTML page. So for your purposes it has to be something you run on your server. I would suggest not proxying the

[jQuery] Re: position of js code

2009-09-23 Thread Theodoro
ok tks On Sep 22, 4:53 am, Xi Shen davidshe...@googlemail.com wrote: i like MorningZ's answer haha~~~ i think by convention, people put it in the head. but there's performance problem with IE, i do not know if other browsers have similar issue, that is IE can d/l one JS file at a time. The

[jQuery] how to get flash expressinstall working with jquery media and swfobject?

2009-09-23 Thread JacketFlap
Hi, I'm using the jquery media plugin (.90) with swfobject (2.1) My markup has something like this: a class=leftmedia {width: 400, height: 350, autoplay: true} href=somevideo.flvMy video/a To load the video, I simply call jQuery('a.leftmedia').media(); If the browser has flash installed, the

[jQuery] jQuery in loaded content doesn't work

2009-09-23 Thread mstone42
I am trying to convert a website currently implemented in PHP with server-side includes, to not use only Javascript (and jQuery AJAX). The main navigation page has a list of links. Clicking on a link pulls in dynamic content and populates a div on the page. I am using .live() and .load() to

[jQuery] Re: how to get flash expressinstall working with jquery media and swfobject?

2009-09-23 Thread Mike Alsup
the expressInstaller parameter is null by default in jquery media. However, adding the expressinstall.swf as I did above doesn't seem to work. What do I need to do to my mark-up or javascript to get flash detection and prompt for installation working when flash isn't installed? Setting

[jQuery] Re: how to display birthdate format behind the date textbox on edit/insert dialog

2009-09-23 Thread Tony
Hello Ravi, Maybe you will need to use the formatter where you should define the source format of the expected data and the new one that you want to be displayed. Refer to: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types Best Regards Tony On Sep

[jQuery] Parse encoded HTML in XML content node

2009-09-23 Thread Jeff
Hi, I'm using $.ajax with a dataType of xml. The XML document I'm getting has a content node that contains a bunch of encoded HTML. Sample: contentlt;pgt;lt;a href=quot; When I alert the text contained within the content node: alert(data.find('content').text()); I can see the above encoded

[jQuery] Re: Datepicker and IE7

2009-09-23 Thread Vitor Santos
Solution is found. In my environment we had another framework, DWR, that uses some javascript as well. DWR does use the character $ for some of it's functions. The solution was to use the folowing code when using JQuery: jQuery.noConflict(); jQuery(document).ready(function($){

[jQuery] jQuery Validate -- how to require series of checkboxes when named as array[]

2009-09-23 Thread ripcurlksm
I have a working example of jQuery validate working in the link below. The newsletter checkbox is required and working. However, the colors checkboxes are all named as an array ( ex: name=color[] ), and so the problem lies in the validation code, where it uses the name of the element to require

[jQuery] jQuery Validate -- how to require series of checkboxes when named as array[]

2009-09-23 Thread ripcurlksm
I have a working example of jQuery validate working in the link below. The newsletter checkbox is required and working. However, the colors checkboxes are all named as an array ( ex: name=color[] ), and so the problem lies in the validation code, where it uses the name of the element to require

[jQuery] Re: Accessing functions inside $(document).ready()

2009-09-23 Thread Trazek
Hello all. I ran into a similar problem just today and decided to share my solution. Similar to Mike's 3rd suggestion: 3) Bind your functions as event handlers to the 'body' object (or whatever) I decided to assign the function references I wanted to call outside the ready function to

[jQuery] Update Div after ajax submit

2009-09-23 Thread Dave Maharaj :: WidePixels.com
I am using the jquery.form.js script and submit a form just fine. My Question is how can update an additional div after the form is sumbitted. Example h1title here /h1 = might say something like Edit you Green Earth Post Page content code. div id='formHere' form. /div So the

[jQuery] Re: jQuery in loaded content doesn't work

2009-09-23 Thread morris...@ingenious.org
Mitch, Try this plug-in. http://plugins.jquery.com/project/livequery Chris On Sep 23, 3:00 pm, mstone42 si...@rocketmail.com wrote: I am trying to convert a website currently implemented in PHP with server-side includes, to not use only Javascript (and jQuery AJAX). The main navigation

[jQuery] Re: Update Div after ajax submit

2009-09-23 Thread morris...@ingenious.org
Dave, You will need to set the 'success' callback in your ajaxForm options, in your function you would then set the h1 tag to what ever your input fields val was. $('#myForm1').ajaxForm({ success: function(responseText, statusText){ $('h1').html($('#title').val()); } });

[jQuery] blockUI leaves hourglass on IE8

2009-09-23 Thread elubin
Does anyone have a fix for the problem where blockUI plugin leaves the hourglass icon when the popover goes away? it can be seen on the blockUI demo page using IE8. simply click the Default Message and don't move the mouse. http://malsup.com/jquery/block/#page thanks in advance!

[jQuery] Re: ajax returned data format

2009-09-23 Thread James
That should work. Is there more to the code you didn't post? Are you sure that the AJAX call is being done? If you do: function(data) { alert(data); if(data == ok) { ...do stuff... } } does the content alert? Try to use Firebug for Firefox to debug AJAX calls. On Sep 23, 5:24 am,

[jQuery] Re: ajax returned data format

2009-09-23 Thread morris...@ingenious.org
Flo, I would suggest using $.getJSON() instead of the straight $.get() if you have the json_encode function available to you (PHP 5.2.x+ should have this). This is because you may have some extra white space at the end of what you are returning now. in your php do this ?php echo

[jQuery] Re: jQuery in loaded content doesn't work

2009-09-23 Thread Matt Quackenbush
If you're using jQuery 1.3.x (and you should be), there's no need for the livequery plugin. http://docs.jquery.com/Events/live

[jQuery] Re: Accessing functions inside $(document).ready()

2009-09-23 Thread James
I'm not to sure why the developer wrapped it all in the ready() function but I'll have to painfully pull it apart now... nothing's ever easy is it :) Maybe they wanted to try not to pollute the global namespace? Were there a lot of functions defined? I guess if that was the idea and you want

[jQuery] Re: More Jquery calls on a page

2009-09-23 Thread James
As Jon mentioned it is possible. You're not including the jQuery library twice also, are you? If so then that can cause problems. On Sep 23, 5:44 am, Jon Banner banali...@googlemail.com wrote: You should be able to do this without problem.

[jQuery] fadeIn and fadeOut divs

2009-09-23 Thread craigeves
lease help... What I need to do is simple. When I click on .log or .tweets it fades out a div and fades in another div. The problem I have though is that it fades in/fades out at the same time causing a 'bump' in the animation effect. I need the first div to fade out first, and only when that

[jQuery] Re: fadeIn and fadeOut divs

2009-09-23 Thread James
fadeIn and fadeOut both takes a callback function (2nd parameter) that executes when completed: $(#latest_tweets).fadeOut(1000, function() { $(#weight_log).fadeIn(1000); }); On Sep 23, 12:39 pm, craigeves craige...@googlemail.com wrote: lease help... What I need to do is simple. When

[jQuery] Creating a tabbed UI

2009-09-23 Thread Tim
Can someone post a simple example of creating a tabbed UI with JQUERY?

[jQuery] Re: Creating a tabbed UI

2009-09-23 Thread Mike Alsup
Can someone post a simple example of creating a tabbed UI with JQUERY? For fully styled tabs you could use jQuery UI: http://docs.jquery.com/UI/Tabs

[jQuery] Re: fadeIn and fadeOut divs

2009-09-23 Thread craigeves
You are a genius... I think I read that somewhere else too, but didn't take too much notice. Cheers C On Sep 23, 11:44 pm, James james.gp@gmail.com wrote: fadeIn and fadeOut both takes a callback function (2nd parameter) that executes when completed: $(#latest_tweets).fadeOut(1000,

[jQuery] Re: jQuery in loaded content doesn't work

2009-09-23 Thread morris...@ingenious.org
Matt, Because he is not just binding events, but doing other things i would highly recommend the livequery plugin. Chris On Sep 23, 5:49 pm, Matt Quackenbush quackfu...@gmail.com wrote: If you're using jQuery 1.3.x (and you should be), there's no need for the livequery plugin.

[jQuery] Is it possible to clone all attributes on an element and copy to a DIFFERENT type of element?

2009-09-23 Thread mawcreative
OBJECTIVE: Copy all the attributes of a TEXTAREA element then apply them to a new element (ie. a DIV) and finally delete the original TEXTAREA element. POSSIBILE SOLUTIONS: 1) I could write a function that cycles through all possible attribute names (ie. class, style, title, name, id, etc.) and

[jQuery] Re: jQuery in loaded content doesn't work

2009-09-23 Thread Matt Quackenbush
My bad. I must admit that I did not read through the entire post, and also did not realize that the livequery plugin offered additional functionality. I was under the impression that it had been fully included into the core with live(). However, I have been corrected a couple of times after

[jQuery] Re: Is it possible to clone all attributes on an element and copy to a DIFFERENT type of element?

2009-09-23 Thread Jules
Try this. script type=text/javascript $(document).ready(function() { $(#convert).click(function() { re = /TEXTAREA/g; $(#newContainer).append($(div/).append($ (#test)) .html() .replace(re, DIV));

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-23 Thread Ricardo Tomasi
Do you really need to output this data embedded in the HTML? Does it have any meaning/purpose without Javascript? There are two simple non- hackish ways you can do it: 1: load data later via XHR, use an element identifier to bind it 2: output metadata in the class attribute - it's valid, and

[jQuery] Can't seem to figure out this simple toggle situation...

2009-09-23 Thread Rick Faircloth
I've got this HTML: tr id=propertyID-#propertyID# td style=width:20px; padding:10px 6px 0 0; cfif qCheckFeatured.recordCount eq 0 img src=../../site_images/icon_accept.gif style=visibility:hidden; cfelse img src=../../site_images/icon_accept.gif

[jQuery] Re: Can't seem to figure out this simple toggle situation...

2009-09-23 Thread morris...@ingenious.org
Rick, lets assume that you are calling your function on document read ... and your select statement is getting the correct image ... with this line ... (if its not getting called and your not getting the correct image then this needs to be fixed first) var img =

[jQuery] Re: Can't seem to figure out this simple toggle situation...

2009-09-23 Thread morris...@ingenious.org
On Sep 23, 11:11 pm, morris...@ingenious.org morris...@ingenious.org wrote: Rick, lets assume that you are calling your function on document ready ... and your select statement is getting the correct image ... with this line ... (if its not getting called and your not getting the correct

[jQuery] Re: javascript

2009-09-23 Thread Anantha Kumaran
Hi to all i found a working solution for that problem but i have a feeling that i am missing something(may be) instead of using a object option i created a function and that returned the object options : fuction(){ return { beforeSubmit: SocialSite.Home.UserInfo.friendRequest, success:

[jQuery] Re: Can't seem to figure out this simple toggle situation...

2009-09-23 Thread Rick Faircloth
Thanks Anantha...that worked well. I don't understand this line, however: if ( test.find('img:visible').attr('src') ) It's the .attr('src'), in particular, that I don't understand. What does that part do? Rick -Original Message- From: jquery-en@googlegroups.com

[jQuery] _Present

2009-09-23 Thread bharani kumar
http://cfi.iflywestwind.com/nEACWal3iJ.html

[jQuery] Re: About jquery append and automatic deleting

2009-09-23 Thread rickoshay
This will move every instance of class foo inside the element ID target. $(#target).append($('.foo')); The reason is that target is a single element. If the target is more than one element, copy is invoked. Whether its event handlers are copied is unclear (try it). This is problematic. If your

[jQuery] Unlock Documentation

2009-09-23 Thread rickoshay
The documentation is going to remain in its sorry state if they do not unlock it and allow competent technical writers to update it. There is no excuse, for example, for not describing the copy/move behavior of the append function. One in a mountain of necessary documentation updates.

[jQuery] Re: Unlock Documentation

2009-09-23 Thread Karl Swedberg
On Sep 24, 2009, at 12:21 AM, rickoshay wrote: The documentation is going to remain in its sorry state if they do not unlock it and allow competent technical writers to update it. There is no excuse, for example, for not describing the copy/move behavior of the append function. One in a

[jQuery] Re: JQuery ui dialog issue

2009-09-23 Thread g...@iec
Help me out of this issue... i got stuck On Sep 23, 6:08 pm, g...@iec abhi.pur...@gmail.com wrote: Hi all, I have an issue. I am showing modal loading dialog while making ajax call. My dialog config is shown below : $('#loadingSearch').dialog({                         autoOpen:

[jQuery] fadeOut callback problem - is this a bug?

2009-09-23 Thread cerberos
The contents of a fadeOut callback are supposed to be executed after the fadeOut has completed but there are problems when fading out multiple selectors (the alert is used to demonstrate). $(#foo, #bar).fadeOut( function(){ alert('test'); $(#baz).fadeIn (); }) #baz is faded in before the