[jQuery] Function won't fire on load...

2010-01-14 Thread knal
Hi there, I have a function/plugin (below this message) which should fire after it is checked that div.introbody doesn't exist. There is only a single div.project on the page for sure but i don't know how to fire the function. I've been struggling with this all night! Any help will be greatly

[jQuery] Working with specific elements from the wrapped set

2010-01-14 Thread north
Hi, I wrote a little equal height plugin. Now, say I have two pairs of divs on a page, and I want the divs having the same class to have the same height. My function call would look something like this: $('.classOne, .classTwo').equalHeight(); At them moment the plugin looks like this:

[jQuery] Re: jQuery 1.2.6 clone problem with internet explorer.

2010-01-14 Thread m.ugues
Ok I found the problem. In the html i try to clone the problem is limited to clone the head component. I tried it with jQuery 1.3.2 and all work fine. So any suggestions? I cannot upgrade in a production environment to jQuery-1.3.2 since this involves a lot of not-regression tests. Is there any

Re: [jQuery] So sad, jquery 1.4rc1 continue to leak in ie7

2010-01-14 Thread Olivier Percebois-Garve
Hi To make sure that a leak is a leak, you should better use process explorer first (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx). Sieve tends to leak by himself. Sieve is only good at giving you indication of where the bug might come from, but it should not be trusted too

[jQuery] Re: So sad, jquery 1.4rc1 continue to leak in ie7

2010-01-14 Thread Phaedra
I'm not so sure to understand how to use process explorer this way, a memory increase/decrease is not always significant. I don't think pm can tell me how many nodes are leaking On 14 Gen, 12:35, Olivier Percebois-Garve perceb...@gmail.com wrote: Hi To make sure that a leak is a leak, you

Re: [jQuery] Re: So sad, jquery 1.4rc1 continue to leak in ie7

2010-01-14 Thread Olivier Percebois-Garve
Process explorer gives you the memory usage per software. Don t be confuse, I m not talking about the standard window thing under the task manager, but process explorer (procexp.exe - http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx) Download and test it. If you want more details,

[jQuery] Select all items in list on form submit

2010-01-14 Thread Richard McKenna
Hi all, I wonder if anyone can help. I have this bit of code that selects all the items in a multiselect list box when the form is submitted. $('#assignUsersForm').submit(function() { $('#assignedUserList option').each(function(i) {

[jQuery] .load() not functioning correctly on IE

2010-01-14 Thread gib
$(#datatable).load(includes/Remotes.asp,{funcType: getData}, function (responseText, textStatus, XMLHttpRequest) { alert(responseText); // dom element alert(textStatus); }); This code works fine in firefox, and the alerted responseText is correct, but it is not displayed in the

Re: [jQuery] Function won't fire on load...

2010-01-14 Thread Gus Waddell
Hi Knal, You need to have the function available before you try and call it. Try putting the $.fn.extend at the top of your script... -- div class=project /div script type=text/javascript language=javascript $(document).ready(function(){ $.fn.extend({ initSlides: function() {

[jQuery] Conflict..

2010-01-14 Thread naharlay
Dear friends am doing a new website, and I want to use the mootools and the jquery together.. they are doing a conflict, but I used the .noConflict() function, so now they work together, but in IE8in the status bar gives me Page Error: ' Object doesn't support this property or method

[jQuery] private listeners for global triggers

2010-01-14 Thread Tina S
would it be possible to setup a global event and connect objects to this event? for example, i have a global update event. it gets asynchronously triggered. i would like various elements to be able to listen for this one update event; this may be a particular div that wants to update itself

[jQuery] Remove element, keep children

2010-01-14 Thread MonkeyGirl
Hi! Is there a way to remove an element from the DOM, like with remove(), but to keep its children? Alternatively, is there a way to move an element one branch up the tree, so when I remove what used to be its parent, it'll take its place? Thank you, Zoe.

[jQuery] iPhone: split jquery script file

2010-01-14 Thread m-schmidt
Hi, the iPhone has a cache limit of 25KB, so the jquery script file will never be cached. Is it possible to split the jquery file in 5-10 smaller files for the iPhone? thanks, Micha

[jQuery] Mega menu, but the good one.

2010-01-14 Thread Michal
I came across quite some examples of the so called mega menu. But there just doesnt seem to be 1 version that rules them all. What i really would need is a auto calculate size in the menu just like on; http://shop.puma.com. There menu does not go outside the wrapper. Is there anyone who has seen

[jQuery] Re: Read ajax response headers?

2010-01-14 Thread Mike Alsup
success:function (data,xhr) {} The above callback signature applies to jQuery v1.4. In prior versions the xhr was not passed to the success callback (but is passed to complete callback).

[jQuery] Re: jQuery 1.2.6 clone problem with internet explorer.

2010-01-14 Thread Dave Methvin
If you're really stuck, you could try copying the clone function from 1.3 into 1.2.6.

[jQuery] Re: So sad, jquery 1.4rc1 continue to leak in ie7

2010-01-14 Thread Dave Methvin
Do you have a link to your leaking test case?

Re: [jQuery] Remove element, keep children

2010-01-14 Thread Gus Waddell
Hi Zoe, One way to do this is use .appendBefore() to move the children up one level in the DOM before the element you want to remove then do the .remove() -- style type=text/css #parent { background-color: red; } /style a href=javascript:void(0); onClick=removeParent();Remove

[jQuery] Re: Function won't fire on load...

2010-01-14 Thread knal
Darn, you are so right! Of course it makes sense once you know it. Thanks a lot!! On Jan 14, 10:01 am, Gus Waddell guswadd...@gmail.com wrote: Hi Knal, You need to have the function available before you try and call it. Try putting the $.fn.extend at the top of your script... --

Re: [jQuery] .load() not functioning correctly on IE

2010-01-14 Thread Juan Borda
does $(#datatable) exists when you call the function? is it called at document ready? 2010/1/14 gib gib...@googlemail.com $(#datatable).load(includes/Remotes.asp,{funcType: getData}, function (responseText, textStatus, XMLHttpRequest) { alert(responseText); // dom element

Re: [jQuery] jQuery stripping HTML tags from Ajax response

2010-01-14 Thread Juan Borda
if is not a valid place the code would be loaded but the brower won't display because of error 2010/1/13 Beckley beckleywo...@gmail.com Hi, Here's what I'm working with (#thing is a table): $.get(/applications/stuff.php, { '_request':'thing', 'id':id,

[jQuery] Re: Link Clicks Double Firing

2010-01-14 Thread bill
hi pedalpete, your solution does work perfectly fine, sorry for not making that clear. but if we look beyond the initial implementation we begin to see a problem: this solution requires two separate pieces of code to be maintained to handle certain modifications. for instance, if the link needs

[jQuery] Re: Link Clicks Double Firing

2010-01-14 Thread bill
this really an interesting jq/html semantic issue: if the a tag is not handling the actual redirection to another page, maybe we shouldn't be using the a tag at all. maybe the href should really just be stored in the jq routine. this clears up maintenance issues and passes the gut check.

Re: [jQuery] Re: Link Clicks Double Firing

2010-01-14 Thread Matt Maxwell
That is true, but if you remove the link's href, the application will not degrade for users without JavaScript enabled. On Thu, Jan 14, 2010 at 8:46 AM, bill ozzi...@gmail.com wrote: this really an interesting jq/html semantic issue: if the a tag is not handling the actual redirection to

Re: [jQuery] iPhone: split jquery script file

2010-01-14 Thread Peter Edwards
There is an interesting article about optimising YUI for Safari/iPhone at: http://tinyurl.com/y97karc (there was a problem with the blog's database connection, so this links to a cached version) With the following in it: Some examples of the kinds of things an iPhone-specific site doesn’t need:

[jQuery] Re: iPhone: split jquery script file

2010-01-14 Thread MorningZ
but what would be the point? say you got jQuery down to 10k in size that leaves 15k left for images and HTML and etc, it's just going to hit that limit and purge the cache anyways. but just a few requests sooner keep with the minified and gzipped version to keep the data sent across

[jQuery] plugin dev help

2010-01-14 Thread Amos King
I want to start making parts of my code into plugins, but I'm not sure of the best way to approach it. If anyone has any ideas on how to make this a little better that would be great. http://gist.github.com/277243 Thanks, Amos -- Amos King http://dirtyInformation.com http://github.com/Adkron

[jQuery] Re: jQuery stripping HTML tags from Ajax response

2010-01-14 Thread Beckley
Really? I guess I'm used to Prototype, which ADDS a TBODY tag when you insert a TR into a TABLE. Okay, I'll try that. Thank you.

[jQuery] Re: jQuery stripping HTML tags from Ajax response

2010-01-14 Thread Beckley
If there really is an error, it's very lame that there's no error message. It just fails silently then. Not helpful. Thanks. On Jan 14, 9:00 am, Juan Borda juanignaciobo...@gmail.com wrote: if is not a valid place the code would be loaded but the brower won't display because of error

Re: [jQuery] Re: iPhone: split jquery script file

2010-01-14 Thread Peter Edwards
The cache limit is for individual files, so you get jquery down under 25K, then use CSS sprites (with images less than 25K) for backgrounds - the total cache size is 475K (a maximum of 19 components can be cached). Gzipping doesn't count (the limit applies to uncompressed code) but minifying is a

[jQuery] Re: autocomplete: extra fields

2010-01-14 Thread Michael Lang
If you want the extraParams passed to your data url to include other form input values then you need to define the values as a function. In that function use jquery to get the values of the other inputs. $(#addressCity).autocomplete('http://www.example.com/api/ getcities/', {

[jQuery] is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread joshmckin
I'm very new to jquey and javascript and need some help with a function. The function shows is a div if any of a list of check boxes are clicked and only hides this div if all the check boxes are unchecked The below code works in Firefox and Safari without issue, but in order to show or hide the

[jQuery] Re: is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread Šime Vidas
try using the click event instead of change

Re: [jQuery] Is treeview plugin using some other plugin for cookie persistence

2010-01-14 Thread Jon Banner
the cookie plugin in the download not working for you? 2010/1/12 epitka exptrade2...@yahoo.com If so, which plugin is it using? I cannot find anything in docs.

[jQuery] Re: Remove element, keep children

2010-01-14 Thread MonkeyGirl
Hi Gus! One way to do this is use .appendBefore() to move the children up one level in the DOM before the element you want to remove then do the .remove() Thank you very much, that worked perfectly! Thanks again, Zoe.

[jQuery] Re: is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread joshmckin
Click worked, thanks. On Jan 14, 10:19 am, Šime Vidas sime.vi...@gmail.com wrote: try using the click event instead of change

[jQuery] Ajax serialize()

2010-01-14 Thread T.J. Simmons
Hi all, just stumbled across the serialize() method in jQuery.. previously I've been building the data string myself. However, I seem to be unable to use it right. I have a pretty basic form set up, and I'm not sure why it's not working.. figure this is a quick fix and you guys would be able to

[jQuery] Re: iPhone: split jquery script file

2010-01-14 Thread MorningZ
Ah, that makes sense now. when i did my site's iPhone version I time and time again was reading of the limits of Safari's cache. i didn't fight or test those limits and my site loads/runs just fine (http://iphone.team-integra.net)... (any huge delays in loading a page are from me on the

[jQuery] Re: autocomplete: extra fields

2010-01-14 Thread MorningZ
I tried for so long to accomplish what you ask (which i think is tell the server side autocomplete target what field am i?), only to throw up my hands in dismissal... I finally just did it this way: say i had: input type=text id=AC_Name class=ac / input type=text id=AC_Email class=ac / input

[jQuery] [autocomplete] Complex dependencies between fields

2010-01-14 Thread Perceive
Hi! I m use bassistance.de variant of this plugin and have next problem. I have dynamic number of pairs like Town - Street (users can add it manually). It's id: adr1 - str1, adr2 - str2, ... . HTML: input id=adr1 class=town sfield type=text / input id=adrid1 type=hidden / // Town ID, taked from

[jQuery] jQuery for DoD web hosting

2010-01-14 Thread ChrisM
Hello, I work on a US Army website and have been using jQuery and UI for some time. We have started working on a dynamic hosting environment (instead of serving flat html pages) and in the process, ajax functions in jQuery 1.3.2 have been flagged as insecure by our DoD security team. Although I

[jQuery] Iframe resizing

2010-01-14 Thread Jamie
Hi There I have a JQuery dialog window with a body that has some text and then below it an iframe with scroll bars. Now the problem is that when resizing the dialog, the iframe content is cut off at the bottom. The bottom of the iframe vertical scrollbar is also cut off. How do I get jquery to

[jQuery] Re: Function won't fire on load...

2010-01-14 Thread JT
I think this might work for you: (function($){ $.fn.extend({ initSlides: function(){ var t = $(this).attr(id); $(# + t + img).hide(); } }); $(document).ready(function(){ if (!$(div.introbody).length) {

[jQuery] Scroll Resets

2010-01-14 Thread Fish500
Hi, I'm fairly new to jquery and have a specific question. When using a .show or .hide for a section of text the browser resets the scroll to the top of the page. Is there a way to not have this happen. Here is the page I am working on: http://www.toddfish.com/experience.html Click on Web

[jQuery] JPONP - Callback Codes: like jsoncallback=jsonp1263478799445_=1263478799446

2010-01-14 Thread TheaterOnline.com
I'm struggling with implementing my site: TheaterOnline.com as a JSONP provider. jQuery adds an extension like this to the query string: jsoncallback=jsonp1263478799445_=1263478799446 if I echo the first part of that string in the return json script such as: jsonp1263478799445({Rows:[ It

[jQuery] Problem with attr function attempting to set attribute values to JS functions

2010-01-14 Thread ast
Hi, I'm still new to jQuery, but I have been playing with SlickGrid and trying to integrate both it and jQuery with some JavaScript library code that I had already developed. When I tried to integrate my code with jQuery, I spent 2 frustrating hours trying to figure out what was going on thanks

[jQuery] Re: Validation

2010-01-14 Thread TexInWien
Try this: script type=text/javascript         $(document).ready(function() {                 $(#autoSumForm).validate({                         rules: {                                 p1001: {number: true},                                 p1002: {number: true}                         },  

[jQuery] Superfish - Function request: Supporting JQuery UI Theme

2010-01-14 Thread vivalite_wei
Hi, I am really missing JQuery UI theme support in superfish. Could you consider to implement it in next version? Have a great day! Wei

[jQuery] Re: Read ajax response headers?

2010-01-14 Thread Mike Alsup
So if someone has a second, can you let me know if the above code could potentially get out of sync? Maybe when I create the list item You don't need to use both the success and complete fn. You can use complete like this: complete: function(xhr, status) { if (status == success) {

[jQuery] Re: .load() not functioning correctly on IE

2010-01-14 Thread Patrick
gib, do you happen to have a style in the html you are loading? e.g. style type=text/css. /style Patrick On Jan 14, 4:03 am, gib gib...@googlemail.com wrote: $(#datatable).load(includes/Remotes.asp,{funcType: getData}, function (responseText, textStatus, XMLHttpRequest) {        

[jQuery] Re: Read ajax response headers?

2010-01-14 Thread bryan
Holy moly, that's beautiful. Thanks so much for your help! On Jan 14, 11:04 am, Mike Alsup mal...@gmail.com wrote: So if someone has a second, can you let me know if the above code could potentially get out of sync? Maybe when I create the list item You don't need to use both the success

[jQuery] jQuery 1.4 is released

2010-01-14 Thread MorningZ
Just saw on my RSS reader that: http://jquery14.com/day-01/jquery-14 Impressive that it's already hosted by Google Ajax Libraries

Re: [jQuery] jQuery for DoD web hosting

2010-01-14 Thread Rey Bango
Hi Chris, Thanks for the email. I think the best way to help us is to provide us with detailed information as to what your security team is having issues with. XHR in itself is not a security issue but more in the way that a developer manages the requests/responses. If there are specific

[jQuery] Re: is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread joshmckin
ahhh even better, thanks Sime On Jan 14, 12:36 pm, Šime Vidas sime.vi...@gmail.com wrote: $(input.ach).click(function() {     if ($(input.ach).is(:checked)) {         $('#sec_codes').show('fast');     } else  {         $('#sec_codes').hide('fast');     } });

[jQuery] ClueTip custom-width cross-browser display issue

2010-01-14 Thread christopherious
I have a ClueTip that is pulling content from a different web page, and is using the custom-width style. It renders wonderfully in Chrome 4.0.249.43 and Firefox 3.5.7, but under Safari 4 (528.7), Opera 10.10 and IE 8.0.6001.18702 it suffers from a height issue. (By that I mean it only displays

[jQuery] Re: .load() not functioning correctly on IE

2010-01-14 Thread Patrick
gib, i've spent most of the day working on my problem, which I believe is similar to yours. What i've found with IE versus other browsers, is that if one quote is wrong... added or missing... IE won't load the results. This may be a place for you to look next. On Jan 14, 4:03 am, gib

[jQuery] JSON and variables

2010-01-14 Thread T.J. Simmons
Hi all, Got a quick question for you. I have a form with several text fields. I'm using AJAX to load data into the fields at page load, using JSON. Instead of manually writing code to fill each field, I'm wanting to use some sort of loop to do this.. but I'm unable to think of a way to do so

[jQuery] Re: JSON and variables

2010-01-14 Thread MorningZ
Loop through the data, not the inputs so like: $.each(data, function(k, v) { var txt = document.getElementById(k); if (txt) { $(this).val(v); } else { // could not find input } }); On Jan 14, 3:35 pm, T.J. Simmons theimmortal...@gmail.com wrote: Hi

[jQuery] Re: JSON and variables

2010-01-14 Thread T.J. Simmons
Bah, of course the other way 'round. Thanks. - T.J. On Jan 14, 2:45 pm, MorningZ morni...@gmail.com wrote: Loop through the data, not the inputs so like: $.each(data, function(k, v) {      var txt = document.getElementById(k);      if (txt) {           $(this).val(v);      }      else

[jQuery] Re: Link Clicks Double Firing

2010-01-14 Thread bill
doh! matt you hit the web accessibility nail right on the head! thanks for reminding me. maybe i should pay penance by turning off my javascript for a day! then again, corporate policy dictates that i have IE6 loaded on my pc, hopefully that buys me some web accessibility karma.

[jQuery] After donating how do I download a book title?

2010-01-14 Thread Brett Ryan
I made a donation with the current promotion to receive a free ebook, but was not sent anything to download a title. How do I download the title?

[jQuery] Re: Select all items in list on form submit

2010-01-14 Thread pedalpete
Can you give a bit more detail? Is the submit not firing? or the .each? I always like to give my selectors an element+class/id, apparently it is more efficient, and I have noticed that some browses (it seems only sometimes) will miss some elements when only using the id/class. But throw some

[jQuery] Re: Link Clicks Double Firing

2010-01-14 Thread pedalpete
Thanks for clarifying that Bill. I see your issue with my solution. I'm still learning to be a better programmer, and getting your type of feedback is really helpful. Thanks On Jan 14, 6:37 am, bill ozzi...@gmail.com wrote: hi pedalpete, your solution does work perfectly fine, sorry for not

[jQuery] checking if jquery loaded

2010-01-14 Thread zendog74
I am trying to only load jquery and jqueryui if they do not already exist. If they do exist, then I load a bunch of plug-ins used by the app. However, the below is not working and I have no idea why. Can anyone provide some insight? if (typeof jQuery == 'undefined') { console.log(loading

[jQuery] Re: jQuery for DoD web hosting

2010-01-14 Thread justintr
Chris, Check your gmail. I wrote you with some info. Justin On Jan 14, 2:43 pm, Rey Bango r...@reybango.com wrote: Hi Chris, Thanks for the email. I think the best way to help us is to provide us with detailed information as to what your security team is having issues with. XHR in itself

Re: [jQuery] checking if jquery loaded

2010-01-14 Thread waseem sabjee
if(jQuery) { // jquery is loaded } if($) { // jquery is loaded } or if (jQuery != null) { // jquery is loaded } if ($ != null) { // jquery is loaded } On Thu, Jan 14, 2010 at 11:30 PM, zendog74 n8cs...@gmail.com wrote: I am trying to only load jquery and jqueryui if they do not already

[jQuery] Masked Input plugin, changing values

2010-01-14 Thread Brett Ritter
I have a user request that a month entry (99/) allow the user to input just a single-digit month (9/) and the page will auto-pad. Thus if I type 1/1999 I should get 01/1999. In general, I'm trying to use the masked input plugin all around. I thought I'd just place a keydown event to

[jQuery] Re: jQuery for DoD web hosting

2010-01-14 Thread ChrisM
Rey, thanks for getting back to me. The issues were flagged as cross- site scripting, saying a call to getScript, getJSON etc. leaves the door open for unauthorized requests. Even though we are sure that we could use this safely in an application, we are at the mercy of the scan results. Sorry

Re: [jQuery] Re: Read ajax response headers?

2010-01-14 Thread Amos King
Why do you want an if when the separation of concerns is all there for you? Amos On Thu, Jan 14, 2010 at 1:21 PM, bryan br...@resenmedia.com wrote: Holy moly, that's beautiful. Thanks so much for your help! On Jan 14, 11:04 am, Mike Alsup mal...@gmail.com wrote: So if someone has a

Re: [jQuery] Re: jQuery for DoD web hosting

2010-01-14 Thread Rey Bango
Hey Chris, I understand. Unfortunately, without more details, it's going to be very hard for us to help. If you can get us more info, we're here to listen and help. Rey... On Thu, Jan 14, 2010 at 4:45 PM, ChrisM manni...@gmail.com wrote: Rey, thanks for getting back to me. The issues were

[jQuery] Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-14 Thread j...@verax
Hi jQuery guru, I have an application based on struts and tiles. Validation is done by javascript at a global level. When I include my autocomplete code in my JSP page, the validation (checkValidation()) malfunctions with a javascript error - Object does not support this property or method at

[jQuery] Re: is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread joshmckin
Made a plugin to allow for dynamic generation is rails. jQuery.fn.toggleServiceItems = function(settings){ var config = { 'check_box_class' : 'ach', 'toggled' : 'sec_codes' }; if (settings) $.extend(config, settings);

[jQuery] Re: Autocomplete selection blanks out input field

2010-01-14 Thread j...@verax
Thanks Marty. I implemented your suggestion and it worked. On Jan 12, 2:40 pm, Marty Jones martybjo...@gmail.com wrote: I had the same issue.  The mustMatch flag causes the second request to validate the text that was set.  Make sure that the selected input value can successfully be submitted

[jQuery] jQuery 1.4 - Resolution of IE complete testing for onload event firing?

2010-01-14 Thread Malic
Given the discussion here: http://groups.google.com/group/jquery-dev/browse_thread/thread/eee6ab7b2da50e1f It sounded like there would be a better way of dealing with onload event firing for images, given differences with IE's complete property. I'm wandering through the 1.4 source code and I

[jQuery] Re: private listeners for global triggers

2010-01-14 Thread Thomas Danemar
You can trigger a custom event on any object with trigger(). On the global document object, for example: $(document).trigger(myUpdateEvent); and listen to it like so: $(document).bind(myUpdateEvent, someFunction); Fiddling around with the global document object is a bit icky, though. Better

[jQuery] Jquery Coda Slider Help

2010-01-14 Thread pennfoli0
please help me with my code, !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleBuild Slider/title style

[jQuery] TableSorter Pager plugin with jQuery not working

2010-01-14 Thread Forsaken Realms
The table is produced by the following code which correctly produces the table. $result = table class=\tablesorter\ width=\100%\ border=\1\ style=\border-style:solid;border-color:white;\ id=\settings_table \theadtrth width=\5%\ID/thth width=\47%\Type/ ththValue/thth

[jQuery] Jquery Coda Slider Help

2010-01-14 Thread pennfoli0
please help me with my code, !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleBuild Slider/title style

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-14 Thread MorningZ
is that a straight dump of your code? if so, you don't have script tags around your JavaScript after the closing /html tag On Jan 14, 5:24 pm, j...@verax joti.bis...@gmail.com wrote: Hi jQuery guru, I have an application based on struts and tiles. Validation is done by javascript at a

[jQuery] UI Dialog: any way to move the close button to the header?

2010-01-14 Thread Thai Dang Vu

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-14 Thread j...@verax
The code as posted (template.jsp) is correctly extracted. Probably appears that way because of the text wrap. Its working code. On Jan 14, 6:21 pm, MorningZ morni...@gmail.com wrote: is that a straight dump of your code? if so, you don't have script tags around your JavaScript after the

[jQuery] jQuery 1.4 LiveQuery

2010-01-14 Thread Jon Bennett
hi, I've been using LiveQuery a fair bit in my projects, I've just tried updating to 1.4, and it appears to have broken it. This http://pastie.org/778941 is the kind of thing I'm doing. Is there a way around this with 1.4? Thanks in advance, Jon -- jon bennett - www.jben.net - blog.jben.net

[jQuery] [validate] Error Labels don't remove after field is validated

2010-01-14 Thread Loony2nz
I am using jorn's awesome validation plugin for sometime. Every now and then I get this issue. Hit the submit button and the error messages pop up next to the invalid field. no problem. I enter the correct data in the field and go to the next field. Unfortunately, after the field is valid, the

[jQuery] delay ajax search while using keyup

2010-01-14 Thread Info
Hi There, I have some code (below) that does an ajax call on keyup of a form field. It works great.but I really want to pause the call for 1 sec after they do the keyup to allow them to put in some text. Is there a way to take this code and do that? $(document).ready(function(){

[jQuery] Re: delay ajax search while using keyup

2010-01-14 Thread mslade
Here's what I would do. Hope this makes sense: [0] On key down, set some global state variable to true. [1] On key up, set the state variable to false. [1a] Then use setTimeout() to have it call a new function in 1 second (adjust for usability). [2] Your new function will look to to see

[jQuery] 2 Column JSON, Ajax Form issue come up

2010-01-14 Thread Mixleplix
I had a html table full of radio buttons within a Form. After submission I loaded the entire area again $.getJSON(/index.php,$(#form).serialize(),function(data){ $(#formArea).html(item.formAreaInformation); } On the second pass the form variables were not being passed. This may be helpful

[jQuery] Listmenu Question: Number of returned lines...

2010-01-14 Thread Workingman
Is there a limit to the number of lines that the menu can handle. Meaning if I give it 1500 or so names of products that I would like it to filter and display under the associated letter or number. As an ancillary question is there a way to exclude prefixes that would mean that they would never

[jQuery] I saw the post out at Klaus Hartl's blog. (see below) And it is very close to the question that I have.

2010-01-14 Thread David Parker
I saw the post out at Klaus Hartl's blog. (see below) And it is very close to the question that I have. I'm new to the jQuery sytax and terminology. I'm a Java/Javascript web application programmer here at University of Wisconsin-Madison. Our apps are run from a java servlet

[jQuery] Cloning content with radio buttons

2010-01-14 Thread Essie
Hello all, I am attempting to duplicate a large area on a form that contains input and textareas. However, when cloning the radio buttons, the selected items end up on the cloned entry, and do not stay on the initial entry like the input, select, and textarea. I thought this was due to ID's, but

[jQuery] hide() works fine - fadeOut() is not working - Don't understand....

2010-01-14 Thread Reinhard Vornholt
Hello group, ich am fairly new to jQuery and using it with my wicket application. I have a problem with quite easy situation. I would like to fadeOut() a div when someon clicks on it. Thats what I have: div id=feedbackPanel12 class=info onclick= $ ('#feedbackPanel12').fadeOut(); ul

[jQuery] appending link to head problem

2010-01-14 Thread easyOne
I tried to append link tag to head tag. For this, I wrote $(link/,{...}).appendTo(head); // jquery 1.4 style or $(head).append(link href /); // jquery 1.3.2 style . Both work nice on Firefox, Chrome, Safari, Opera but IE... In case of IE, it works with jQuery1.3.2, but never do anything

Re: [jQuery] Listmenu Question: Number of returned lines...

2010-01-14 Thread Jack Killpatrick
Each browser performs differently, because of how the plugin takes the original set of DOM nodes (list items, usually) and moves them around in the DOM. Basically, IE6 sux wind, but IE7+ is OK. Safari and Chrome seemed to be the fastest in my not-so-scientific tests. Firefox 3+ was OK. I

[jQuery] Re: JPONP - Callback Codes: like jsoncallback=jsonp1263478799445_=1263478799446

2010-01-14 Thread Dave Methvin
It works. Is there any documentation on this protocol? Hey, Google always has something. :) http://en.wikipedia.org/wiki/JSON#JSONP The reason jQuery uses a random number there is so that multiple requests can be in progress at once and will get separate functions to run on completion.

[jQuery] Re: what's up with zoho jquery forum???

2010-01-14 Thread Dave Methvin
The official forum will at http://forum.jquery.com/ so you might want to head over there and look around. This Google group will be around for a long time and you're free to post here, but at some point we'll turn moderation off and within a few weeks it will most likely be overrun by spammers.

[jQuery] $(ul li a).hover

2010-01-14 Thread J
Hi, Im new to jquery. I have a .hover that is applied to all ul li a $(ul li a).hover Question: How can I apply the .hover to a specific class or id? I tried something like this but it didn't work for me: $(#test ul li a).hover $(test ul li a).hover Thanks

[jQuery] Re: jQuery 1.4 LiveQuery

2010-01-14 Thread Dave Methvin
I've been using LiveQuery a fair bit in my projects, I've just tried updating to 1.4, and it appears to have broken it. Can you post a link to the simplest test case that shows the problem? It is probably a simple fix.

Re: [jQuery] $(ul li a).hover

2010-01-14 Thread Dhruva Sagar
to apply it to a specific id, you need to just mention the id in the selector. eg.) $('#testid') in DOM it is important that the ID is unique, if you do have multiple nodes with same ids, which is a violation of HTML, the ID selector will always return the first node with that ID. For a class

Re: [jQuery] $(ul li a).hover

2010-01-14 Thread brian
On Thu, Jan 14, 2010 at 9:53 PM, J jesseparent...@gmail.com wrote: Hi, Im new to jquery. I have a .hover that is applied to all ul li a $(ul li a).hover Question: How can I apply the .hover to a specific class or id? I tried something like this but it didn't work for me: $(#test ul li

Re: [jQuery] $(ul li a).hover

2010-01-14 Thread brian
On Thu, Jan 14, 2010 at 10:06 PM, brian zijn.digi...@gmail.com wrote: On Thu, Jan 14, 2010 at 9:53 PM, J jesseparent...@gmail.com wrote: Hi, Im new to jquery. I have a .hover that is applied to all ul li a $(ul li a).hover Question: How can I apply the .hover to a specific class or id?

[jQuery] Re: Dialog bug

2010-01-14 Thread Andrew Tan
Hi, I was wondering if you could post an example of your modified dragstart and dragstop callbacks which fix the issue? Thanks. On Jan 2, 12:37 am, Yuriy Pobezhymov yuradoc.commerc...@gmail.com wrote: Thank you much. It's work! Happy New Year!!!

  1   2   >