[jQuery] detecting when jquery affects a form element

2010-01-15 Thread Eric Cope
Hello all, Is there a way to detect when jquery affects a form field? Something like .change(), but when jquery makes the change, not the user? Thanks! -- Eric Cope

[jQuery] Re: jQuery 1.4 LiveQuery

2010-01-15 Thread Gordon
In 1.4 the built in live() function has been heavily extended, so perhaps you can switch to using that instead? On Jan 15, 12:35 am, Jon Bennett jmbenn...@gmail.com wrote: 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

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

2010-01-15 Thread Richard McKenna
Thanks very much for your reply. OK following your advice I tried the following $('form#assignUsersForm').submit(function() { alert(submit fired); $('select#assignedUserList option').each(function(i) { alert(each fired); $(this).attr(selected,

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

2010-01-15 Thread Richard McKenna
So here's the full example. What it should do is select all the items that have been moved to the right hand side, then submit the form. http://67.199.29.196/selecttest.cfm On Jan 14, 9:27 pm, pedalpete p...@hearwhere.com wrote: Can you give a bit more detail? Is the submit not firing? or

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

2010-01-15 Thread Amos King
Try tying in to the click event of the submit instead of the submit event. Just make sure to return false so the submit doesn't go off. On Fri, Jan 15, 2010 at 5:12 AM, Richard McKenna richardofmcke...@googlemail.com wrote: So here's the full example. What it should do is select all the items

[jQuery] hiding div's based on dynamic tabs

2010-01-15 Thread Henjo
Hi, I am wondering what the best solution would be to achieve the following: Normal situation (simplified): ul liTab1/li liTab2/li liTab3/li liTab4/li /ul div id=tab1.../div div id=tab2.../div div id=tab3.../div div id=tab4.../div When a tab is selected the corresponding div slides in to

[jQuery] tablesorter and rowspan / colspan

2010-01-15 Thread admarie
Hello, I use tablesorter plugin version: 2.0.3. I would like to sort my table which contain rowspan and colspan in thead but it doesn't work... table class=tablesorter thead tr th rowspan=2Name/th th colspan=3Email/th

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

2010-01-15 Thread d...@amystdesign.com
That depends upon which element has the ID or class that you're hoping to select, for instance, if you have: ul lia class=test-classList Item Text/a/li /ul or ul id=nav-menu liaList Item Text/a/li /ul Then you would want $(a.test-class).hover(...); or $(#nav-menu li a).hover(...);

[jQuery] Plugins - multiple instantiating

2010-01-15 Thread phatic
Hi, I have created a tabs plugin that I'd like to have mutiple instances of on the same page; $('#tabs1').detatabs(); $('#tabs2').detatabs(); Unfortunately all seems to work well, except when I change tabs only the content area of the first instance changes. Below is my code; here is an example

[jQuery] Re: mouseover highlighting rows using tablesorter plug-in

2010-01-15 Thread jay
Hey, I've got my table set up. The rows all work backwards and forwards, and I've got the columns disabled that I want disabled. But I have searched and tested and I can't find any method of mouseover highlighting that works. For some reason, addClass and removeClass don't seem to work. I know

[jQuery] ZIP with JQeury

2010-01-15 Thread mind01
Hey there, Is there any solution to make a ZIP file with JQuery or something? Greetz

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

2010-01-15 Thread Josh
That would be a really useful feature. I've just finished implementing a UI with a graphic designer and it would be really nice if the jQueryUI CSS would create the default skin. Regards, Josh On Jan 14, 8:56 am, vivalite_wei vival...@gmail.com wrote: Hi, I am really missing JQuery UI theme

[jQuery] JSON.parse method of JQuery 1.4 will take a mistake in AIR 1.5.X

2010-01-15 Thread fins
I think if ( window.JSON window.JSON.parse ) { data = window.JSON.parse( data ); } else { data = window[eval](( +

[jQuery] Should I use code.jquery.com?

2010-01-15 Thread Patryk Szczygłowski
Hello, I've noticed that in certain places there are links to jQuery being hosted on code.jquery.com, and none of information against using it. Is anything changed since http://blog.jquery.com/2009/08/20/codejquerycom-redirected-to-google-ajax-apis/ I'm not aware of? What CDN does the site use?

[jQuery] Re: jQuery 1.4 LiveQuery

2010-01-15 Thread krisna
everything fine with jquery 1.3.2 but when i updating to 1.4 here's firebug console: TypeError: Result of expression 'node' [undefined] is not an object. [jquery.blockui.js: 195] js code when i click the button: $.blockUI( { message: $('#popup_correction'),

[jQuery] Resolved

2010-01-15 Thread Sébastien BEIRNAERT
I found out how to compare 2 JQuery object : juste add [0] at the end of the JQ object ex : $('div.block01')[0] == $('div.block02')[0] Worked great for me Bye Sébastien

[jQuery] Re: jQuery 1.4 LiveQuery

2010-01-15 Thread Dave Methvin
In 1.4 the built in live() function has been heavily extended, so perhaps you can switch to using that instead? Agreed, but I think livequery should still work. The error posted there is in blockUI and not livequery anyway. Jon Bennett, can you put up a simple page that is a complete test case?

[jQuery] selection by XPath

2010-01-15 Thread Anton Koval'
hello all. I need some help in understanding XPath selection in JQuery: i.e. i have this html code: html head script language='javascript' src='jquery.js'/script script language='javascript' function f() { alert($('//body/div')); } /script /head

[jQuery] Re: JSON.parse method of JQuery 1.4 will take a mistake in AIR 1.5.X

2010-01-15 Thread Dave Methvin
Ticket created: http://dev.jquery.com/ticket/5822

Re: [jQuery] ZIP with JQeury

2010-01-15 Thread waseem sabjee
This is usually handled by server side script like ASP or PHP as you have to work with either the users file system or your FTP. So my answer would be No. if there is a solution I would like to know it. On Fri, Jan 15, 2010 at 1:46 PM, mind01 mindproduction...@gmail.com wrote: Hey there, Is

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

2010-01-15 Thread m.ugues
Ok this seems to work. How can i minify now the pathed version? Kind regards Massimo On Jan 14, 2:12 pm, Dave Methvin dave.meth...@gmail.com wrote: If you're really stuck, you could try copying the clone function from 1.3 into 1.2.6.

[jQuery] Re: selection by XPath

2010-01-15 Thread Anton Koval'
version of jquery is 1.3.2

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

2010-01-15 Thread knal
Thanks a lot, i've also implemented the $(document).ready part! Thanks a lot guys!! On Jan 14, 7:41 pm, JT j...@terenz.io wrote: I think this might work for you: (function($){     $.fn.extend({         initSlides: function(){             var t = $(this).attr(id);             $(# + t +

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

2010-01-15 Thread Leo Balter
Try Google Closure Compiler http://code.google.com/intl/pt-BR/closure/compiler/ 2010/1/15 m.ugues m.ug...@gmail.com Ok this seems to work. How can i minify now the pathed version? Kind regards Massimo On Jan 14, 2:12 pm, Dave Methvin dave.meth...@gmail.com wrote: If you're really

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

2010-01-15 Thread Richard McKenna
Thank you both for all your input changing to a click event on the button seems to have worked. I must have done something different this time as I tried that before posting here. Anyway thanks guys. On Jan 15, 1:17 pm, Amos King amos.l.k...@gmail.com wrote: Try tying in to the click event

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

2010-01-15 Thread j...@verax
I found the problem. Its the $ sign ! The $ sign has a very special meaning in the jQuery framework. So if it is used in any other Javascript that doesnt use jQuery, it will be incompatible. So this means we should not use '$' in our code just because it looks cool ! Also, be very careful when

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

2010-01-15 Thread Jon Banner
have a go with http://docs.jquery.com/Core/jQuery.noConflict 2010/1/15 j...@verax joti.bis...@gmail.com I found the problem. Its the $ sign ! The $ sign has a very special meaning in the jQuery framework. So if it is used in any other Javascript that doesnt use jQuery, it will be

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

2010-01-15 Thread Patrick
Thanks!!! On Jan 14, 9:52 pm, Dave Methvin dave.meth...@gmail.com wrote: The official forum will athttp://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

[jQuery] Re: detecting when jquery affects a form element

2010-01-15 Thread Eric Cope
I figured it out. .trigger('change') works great. Thanks, Eric On Jan 15, 1:43 am, Eric Cope eric.c...@gmail.com wrote: Hello all, Is there a way to detect when jquery affects a form field? Something like .change(), but when jquery makes the change, not the user? Thanks! -- Eric Cope

[jQuery] using tabs plugin in ajax mode, accessing the DOM

2010-01-15 Thread mike
A is it possible? question from a novice... I am using the tabs plugin to load a page via ajax mode. In the newly loaded content, I have some checkboxes, which I then process using javascript/ajax/XMLHttpRequest. When I return from the ajax processing, I am trying to change an attribute

[jQuery] Re: checking if jquery loaded

2010-01-15 Thread zendog74
These just give me undefined errors, as jQuery is not defined if it is not loaded. Again, what I need to do is load jQuery if it is not already loaded and then load all of the required plug-ins once it is loaded. On Jan 14, 4:39 pm, waseem sabjee waseemsab...@gmail.com wrote: if(jQuery) {  //

[jQuery] Re: checking if jquery loaded

2010-01-15 Thread Nalum
Hello zendog74, In your script above you have script.onload = loadPlugins();, the onload event is only usable in the body tag or the frameset tag. Other than that I think your script is ok. On Jan 15, 4:44 pm, zendog74 n8cs...@gmail.com wrote: These just give me undefined errors, as jQuery is

[jQuery] Once I've downloaded it...

2010-01-15 Thread Jerry
I'm a newbie and have been informed that I need to become familiar with jQuery. I have downloaded it from the download page. What do I do with it, now?

[jQuery] Ajax request not working in IE7. Works in IE8,FF3+

2010-01-15 Thread Don
jQuery v1.3.2 I have an ajax calendar that loads when the page loads. To change the month I use ajax to update the month view. On each ajax load I replace the calendar container with: ... Calendar code here ... $calHTML .= 'script type=text/javascript

[jQuery] (treeview) Treeview and async plugin doesn't work with jQuery version 14

2010-01-15 Thread tkusnadi
I'm curently using jquery.treeview and.treeview.async to display data in treegrid. It works fine with jQuery ver 1.3.2, but when i upgrade jQuery library to version 14, the look of tree view is whacked. Let me know what's your recommendation on this. Thanks Teddy

Re: [jQuery] jQuery.proxy()

2010-01-15 Thread German Bortoli
2010/1/15 ahmet ahmet-vur...@hotmail.com $ ( '. result'). load ( 'http://jquery.com/' http://jquery.com/%27); and jQuery.post() how we can use here? Can I use! Nope, Because you cannot cross servers with Javascript, for do that kind of stuff you should make a php file for example

[jQuery] Re: Should I use code.jquery.com?

2010-01-15 Thread Dave Methvin
Google is hosting the file now, you could get it from there: http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.js

Re: [jQuery] Once I've downloaded it...

2010-01-15 Thread Charlie Griefer
I'd read the Getting Started section at http://docs.jquery.com/Main_Page . On Fri, Jan 15, 2010 at 9:06 AM, Jerry je...@jerrysweet.com wrote: I'm a newbie and have been informed that I need to become familiar with jQuery. I have downloaded it from the download page. What do I do with it,

[jQuery] get the element that called the function...

2010-01-15 Thread John Corry
I am a pretty experienced PHP programmer with a little bit of javascript experience and am LOVING jQuery. I'm working on a tool that will allow users of my app to merge vendors on their vendor edit page. Basically, if vendor names are similar, I display both vendors with a link for each.

[jQuery] Re: Link Clicks Double Firing

2010-01-15 Thread Collectonian
This :-) Also, if I remove the a href, it would break the links (dynamically generated by the web application on load) and the preview panels :-) Adding the second return false;, as suggested by Matt has fixed it quite nicely! Thanks all :-( On Jan 14, 8:55 am, Matt Maxwell

[jQuery] IE problem

2010-01-15 Thread Valerij
Hi guys, I have this annoying problem with IE that makes no sense, I have these pop ups which works perfectly in all browsers but IE, in IE it works great the first time - I can open all of the tabs once, but after I close them all, I cant open the first one, but others works fine! Then if I

[jQuery] Re: background-color always returns transparent

2010-01-15 Thread John
It turned out to be a bug in jQuery 1.3.2. I upgraded to jQuery 1.4 and the problem is solved. I can get back the correct background color rgb(255, 0, 0) now. Really appreciate John Arrowwood's help on this. A bit about the Tellurium automated testing framework (http:// code.google.com/p/aost).

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

2010-01-15 Thread j...@verax
Thanks, Jon, I tried out the technique described in the link that you provided and it worked very well. Thank you for saving much of my time and effort. On Jan 15, 11:19 am, Jon Banner banali...@googlemail.com wrote: have a go withhttp://docs.jquery.com/Core/jQuery.noConflict 2010/1/15

[jQuery] Possible jQuery 1.4 and jQuery UI 1.7.2 bug

2010-01-15 Thread Shaun Kester
Hi jQuery team, I think I've found a small bug when using jQuery 1.4 with jQuery UI 1.7.2 in the 'open' event of the dialog widget. I'm going to try to dig into it this weekend so that I can provide some better information and maybe even a patch, but until then I wanted to post it here to get

[jQuery] Re: Jquery Cycle Plugin Bugs

2010-01-15 Thread keli marks
ah thank you for that help, that clears up most of the issue. THe home page bug is very buggy it happens once in a while and with a refresh generally fixes itself. I guess the vast majorit of the time there is no issue. Thank you very much! I really appreciate it. On Jan 13, 12:15 pm,

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

2010-01-15 Thread Charlie
you can use jQuery UI css to skin other elements such as a menu. Add the applicable classes to menu and volia http://jqueryui.com/docs/Theming/API Josh wrote: That would be a really useful feature. I've just finished implementing a UI with a graphic designer and it would be really nice if

[jQuery] Re: get the element that called the function...

2010-01-15 Thread elubin
pass a parameter to the function when you setup the onclick event. (different parameter per link so you can tell)

[jQuery] Animating Height of Parent Hides Select Options

2010-01-15 Thread Meander365
When I focus on a select box I want the hidden tooltip to appear. When I click on the select box the animation starts but the option list is hidden. How do I get round this? style .showme {display:none;} li {height:25px;background:red; } select{z-index:100;} p{margin:0px;padding:0px;} /style

Re: [jQuery] get the element that called the function...

2010-01-15 Thread Charlie
lots of easy ways to do this depending on your markup. assuming that the 2 links share the a parent container as in: div class=vendors aOther Link/a agood Link/a /div then using .siblings() would be easy method $('.vendors a').click(function(){ //ajax $(this).siblings('a').hide();

[jQuery] jHtmlArea problems with - script generated width

2010-01-15 Thread roxstyle
in this sample page, if you click on the first Short Bio - right sided edit link, there is where the jHtmlArea is placed http://www.roxstyle.com/projects/blssi/cms/de-tool-v3/p-bio.html# the problem is that in firebug i can see the first style is element.style { width:0; } i have tried putting

Re: [jQuery] jHtmlArea problems with - script generated width

2010-01-15 Thread waseem sabjee
Hi, according to css rules if you use display inline you cannot specify a width as it is now and in-line element. you may only specify widths for block-level elements that do not have display inline as a style a solution to your problem with be floating EXAMPLE instead of display inline use

[jQuery] jQuery 1.4 cross domain post bug?

2010-01-15 Thread David P
I have a webservice sitting on my https server that accepts the POST verb and responds with some JSON. If I build a simple html form like form method=post action=https://myserver.com/myWS; input type=submit/ input type=hidden name=emailAddress value=a...@a.com / input type=hidden name=password

Re: [jQuery] Re: jQuery 1.4 LiveQuery

2010-01-15 Thread Steven Yang
Jon what version of blockUI are you using? I think i just ran into similar problem yesterday when i upgraded jQuery to 1.4 and blockUI stopped working. but i solved it by upgrading blockUI to the newest version then everything worked again. i think the newest version was updated some time in Jan

Re: [jQuery] jQuery 1.4 cross domain post bug?

2010-01-15 Thread Michael Geary
You can't do a cross-domain POST, nor a cross-domain GET either. It doesn't matter what kind of data it returns, you can't do a POST at all. It's not a jQuery limitation; the browser won't allow it for any JavaScript code. Cross-domain JSONP works because it uses a dynamic script element, not a

Re: [jQuery] Resolved

2010-01-15 Thread Amos King
Wouldn't this just compare the first element of the list of objects returned? Amos On Fri, Jan 15, 2010 at 3:45 AM, Sébastien BEIRNAERT beirnaert.sebast...@gmail.com wrote: I found out how to compare 2 JQuery object : juste add [0] at the end of the JQ object ex : $('div.block01')[0] ==

Re: [jQuery] Re: plugin dev help

2010-01-15 Thread Amos King
Can someone take another look at the new version and let me know of anything that stands out that could be better? http://gist.github.com/277243 Amos On Fri, Jan 15, 2010 at 1:25 AM, Amos King amos.l.k...@gmail.com wrote: Thanks, I saw the metadata plugin today and I started redoing mine.

Re: [jQuery] ZIP with JQeury

2010-01-15 Thread Amos King
If there is a solution I would think that it would be entirely too slow on any file size worth zipping, and the file would have to already be loaded on the page. If you are talking about files to be uploaded from the server I don't believe there is any way that javascript could be tied to the

[jQuery] some trouble with a function returning a getjson response

2010-01-15 Thread Anyulled
this is my code, I can't it working: function versechooser(verso,version) { miversion= (version == null)? RVR1960: version; $resultado = null; url = http://query.yahooapis.com/v1/public/yql?; + q=select%20* %20from%20html%20where%20url%3D%22+

[jQuery] selected accordion background

2010-01-15 Thread spiderling
I'm using an accordion which functions perfectly. I was using jQuery 1.2.6 with UI 1.6 and was able to have a different background image displayed when the section was expanded using .selected. I upgraded to jQuery 1.3.2 with UI 1.7.2, and the selected / expanded background image no longer works.

[jQuery] Drive jQuery plugin: a new kind of DOM builder

2010-01-15 Thread lfortin
Hi all, I have recently released a beta version of my new plugin, the Drive jQuery plugin. This plugin is a new kind of DOM builder: it allows you to construct the DOM using basic jQuery selectors. It searches for elements, and if none is found, it attempts to create them. For example,

[jQuery] fckeditor (plugin) editorarea css

2010-01-15 Thread Per
Hi all! Fairly new to jquery and fckeditor plugin, trying to change the editor css. These lines dont work: $(function(){ $.fck.config = {path: 'fckeditor/'}; $('textarea#fck1').fck({EditorAreaCSS: '/css/blogheader.css', height: 30}); $('textarea#fck2').fck({EditorAreaCSS: '/css/blogbody.css',