[jQuery] Re: line breaks in alert boxes

2009-04-30 Thread Jordon Bedwell
JQuery does not control alert boxes because that is your browsers end. And yes \n works. I don't see the \n in your alert at all. alert(1 + '\n' + 2); -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of 508! Sent: Tuesday, April 28, 2009

[jQuery] Re: cluetip IE8 very slow adding to table rows

2009-04-30 Thread DotnetShadow
Thanks Karl, All good you are doing a wonderful job, I know what you mean with time Regards DotnetShadow On Apr 30, 12:50 am, Karl Swedberg k...@englishrules.com wrote: So sorry, I haven't had a chance to fully explore this yet. Not   ignoring you. Just having a hard time finding the time

[jQuery] Cant get Tablesorter working with examples under Jquery 1.2.3

2009-04-30 Thread javahollic
Hi I'm trying to get tablesorter (http://tablesorter.com/docs/ index.html) working but pasting the example table, when the given document.ready() function fires, I get a javascript error saying that $ (myTable).tablesorter(); is not a function. Can anyone confirm this works with Jquery 1.2.3?

[jQuery] Re: Cant get Tablesorter working with examples under Jquery 1.2.3

2009-04-30 Thread javahollic
figured it out, I didn't have the js loaded, duh! On Apr 30, 12:23 pm, javahollic javahol...@gmail.com wrote: Hi I'm trying to get tablesorter (http://tablesorter.com/docs/ index.html) working but pasting the example table, when the given document.ready() function fires, I get a javascript

[jQuery] Re: JQuery Script doubling div

2009-04-30 Thread Charlie
($(this).attr("href") + ' #content *') will return the contents of #content on the page being loaded without the div container with same ID using less generic ID named " content" would be another obvious solution Laegnur wrote: Hello In a website that I am developing, I have a tab

[jQuery] Re: jQuery barcode

2009-04-30 Thread Richard W
1: create a html demo document 2: check it in the repository 3: change the mimetype of the html file using svn prop set (eg http://svnbook.red-bean.com/en/1.0/re23.html) so that you can view the html file through subversion 4: bob's your uncle I have done this for my little snake game:

[jQuery] JQuery Script doubling div

2009-04-30 Thread Laegnur
Hello In a website that I am developing, I have a tab navigation system and I tried to dynamic load the #content of each page in the #content div of the main page withe the next script and next html: $(document).ready(function() { $('#nav a').click(function(event) {

[jQuery] Re: jQuery(document).ready() Type error on WebKit based Browsers

2009-04-30 Thread Sulfura
Yes, I noticed that afterwards and changed it accordingly. The Error happend on line 3, jQuery(document).ready(). I copied it from jquery tutorials but it still doesn't work. I made a new js file with a very simple function but still no success. The Examples on jquery.com work though, so I am

[jQuery] Re: jQuery barcode

2009-04-30 Thread apaella
thanks! On 30 Apr, 11:54, Richard W willis...@gmail.com wrote: 1: create a html demo document 2: check it in the repository 3: change the mimetype of the html file using svn prop set (eghttp://svnbook.red-bean.com/en/1.0/re23.html) so that you can view the html file through subversion 4:

[jQuery] Re: jQuery barcode

2009-04-30 Thread Antonello Pasella
I tried with canvas but time and memory comsumption were higher than simple B/W BMP encoding. My purpose is to save brandwidth and server pricessing time. @ client side it takes 3ms to draw an image Thanks for the attention On 29 Apr, 22:17, Ricardo ricardob...@gmail.com wrote: Not really

[jQuery] Multi rows with jCarousel

2009-04-30 Thread dekouan
I really want to modify jCarousel to multi rows. Can I do this and how? Please advise. Original: [ITEM] [ITEM] [ITEM] [ITEM] Modify: [ITEM] [ITEM] [ITEM] [ITEM] [ITEM] [ITEM] [ITEM] [ITEM]

[jQuery] Cascade plugin

2009-04-30 Thread PretzelSteelersFan
After updating the selectlist using the plugin, I don't get the selectlist form variable on submission. All other form vars are there.

[jQuery] Re: flexigrid and coldfusion

2009-04-30 Thread timbrown
Well if my understanding is correct. Coldfusion 8 formats it's JSON a little differently when returned from a query than flexigrid is going to expect. I took the php example and converted it to coldfusion. works pretty well it's just that after i try to page through the results the json is

[jQuery] Jquery Function Not Working In Opera

2009-04-30 Thread djeyewater
I have the following code: codeprevar depth = 2; var name = 'category' + depth; var html = $('lt;div class=quot;indentquot;gt;' + quot;\nlt;pgt;\nquot; + 'lt;label for=quot;' + name + 'quot;gt;Sub Category:lt;/labelgt; ' +

[jQuery] jCarousel remove method problems

2009-04-30 Thread Jason
I have added buttons to my jCarousel to trigger removing any image from the carousel. However, it seems the remove() method is not working for this. First off, it only allows you to remove images that are off-screen. Even if I hack around that problem the carousel does not update to remove the

[jQuery] cluetip jsonp and jquery doesn't play nice together

2009-04-30 Thread cluetip user
Hi, I wanted to use cluetip and jsonp with jquery (1.2.5, but apparently the issue is also present in jquery 1.3). I wanted to add a cluetip popup for a bunch of links like this: $(a[cluetip]).cluetip({'sticky': true, ajaxSettings: { dataType: 'jsonp'}, }); This

[jQuery] find() on DocumentFragment not returning consistent results

2009-04-30 Thread Hostile Fork
Hello all, I'm looking at a simple case of a DocumentFragment node which has a span as a child. If I do $(fragment).children().filter(span) then that finds the span as expected. But $(fragment).find(span) returns nothing. Shouldn't the second query return something if the first does? Sample

[jQuery] Re: Trying to use UI accordion to create menu with event: click but still enable links on child link items

2009-04-30 Thread Gamby
I have the same problem... the only difference is that my component isn't a menu but I have couples of link - div The content DIV contains an img and a LINK, but this one when clicked doesn't work, that is it doesn't redirect to other pages of my site, but it simply close the content div which it

[jQuery] Cannot get jquery to work

2009-04-30 Thread Anil
I downloaded the from http://docs.jquery.com/Downloading_jQuery#Download_jQuery and store the script in public/javascripts/jquesry.js I included the file using following command %= javascript_include_tag jquery.js % I want to add class to table class using following command inside script tag.

[jQuery] Retain Form Data

2009-04-30 Thread James
Hi, I am new to JQuery. Just have a couple of questions but first let me tell you that I am planning to have a recipe submission by showing the user by default one input box for each ingredient and direction. If the user wishes to add another ingredient, javascript will create another input box

[jQuery] [autocomplete] hideResults() and hideResultsN ow() (FAO Jörn Zaefferer)

2009-04-30 Thread James Le Cuirot
Hi, This is really directed at Jörn, who wrote this plugin. I just want to know what the reasoning was behind having a hideResults() function that uses a timeout to call hideResultsNow() 200ms later. Would it be safe to use hideResultsNow() instead when handling the blur event? Regards, James

[jQuery] A troll on jQuery in Linkedin QA board

2009-04-30 Thread S P Arif Sahari Wibowo
To those who in Linkedin, there a troll discrediting not only jQuery but the practise of using any library: http://www.linkedin.com/answers/technology/information-technology/computers-software/TCH_ITS_CMP/464788-10054134 Quote: You don't need a generic library, period. Bank it. Funny. :-) --

[jQuery] Why would an id become undefined?

2009-04-30 Thread $(Noob).bee
Are there any debugging tools to trace when/where an element id is defined and then becomes undefined? I'm using: jQuery 1.3.2 with and without the fix at //http://dev.jquery.com/ ticket/4420 http://www.appelsiini.net/download/jquery.jeditable.mini.js http://code.google.com/p/submodal/ (old

[jQuery] Re: jQuery barcode

2009-04-30 Thread Antonello Pasella
On 29 Apr, 18:28, Ricardo ricardob...@gmail.com wrote: Does this have any use case besides printing? If not, what's the point in making it a jQuery plugin? (just curious). I wrote a javascript plugin (now with jQuery, maybe indipendent in the future) because in some cases a client generated

[jQuery] Jquery and IE

2009-04-30 Thread Ítalo
I'm new in here, english sucks. I've got a problem with this function: $(document).ready(function(){ $(#caixa_disciplinas ul li).each(function(){ $(this).click(function(){

[jQuery] Re: [treeview] what are the possible options for this plugin?

2009-04-30 Thread Avi Tzurel
This is the best website I know explaining this great plugin. http://abeautifulsite.net/notebook/58 -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Marv Sent: Wednesday, April 29, 2009 9:09 PM To: jQuery (English) Subject: [jQuery]

[jQuery] Re: jqModal +r14 updated

2009-04-30 Thread Steven Garcia
I cant seem to get jQuery's live function working with this at all. I tried all variations possible, including dmitri's suggestion The modal does indeed pop up, but instead of loading the ajax content, I get redirected to that URL. Anyone else run into this problem?

[jQuery] Auto Tabbing using Jquery, Please help

2009-04-30 Thread dgm
Hi I am trying to do the auto tabbing text field -- text field and Text field-- check box. My code is not working. Any one please help. Here is my code. html head titleCheck Box/title script src=jquery.autotab.js type=text/javascript/script script type=text/javascript

[jQuery] Re: new version of loopedSlider is out! Looking for feed back

2009-04-30 Thread betweenbrain
Nathan, Very cool! Is it possible to use this in conjunction with something like easing to add a little effect to the transition? Keep up the great work! Matt On Apr 29, 9:55 am, Nathan nsear...@gmail.com wrote: Just released a new version of loopedSlider and am looking for some feedback.

[jQuery] Re: Cannot get jquery to work

2009-04-30 Thread Michael Lawson
Try addClass() instead of addclass() cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold. If you find they make sense, conform to your experience, and don't

[jQuery] Re: jQuery barcode [DEMO PAGE]

2009-04-30 Thread Antonello Pasella
Thanks to Richard W I finally got a demo page hosting on googlecode:D http://jquery-barcode.googlecode.com/svn/trunk/jquery-barcode/demo/demo.html

[jQuery] Re: Superfish and IE6 Z-Index

2009-04-30 Thread gfranklin
check the order in which your external javascripts files are called. You may have it correct, but it was one thing that IE6 was picky about for me. The way I determined what was going wrong in IE6 for my problem was turning on script debugging in the IE preferences panel. -Greg On Apr 29, 7:00 

[jQuery] Re: Your download is corrupted

2009-04-30 Thread ryan.j
Annie/Cyndy/prilly - awesome trolling. it had all the right ingredients to enrage the readers of this group, and was executed with style and panache. Although i feel you could have obfuscated the issue a little more and dragged it out another few posts before the twist, 8/10.

[jQuery] Re: why is :first-child selecting sub elements?

2009-04-30 Thread Liming
Hey Karl. THANKS! Sorry, i'm a real beginner on this. This is a good lesson for me! Greatly appreciate. Liming On Apr 29, 6:04 pm, Karl Swedberg k...@englishrules.com wrote: Hi Liming, Just a child combinator rather than a descendant combinator: $(div[id ^= 'childtest_' ]

[jQuery] Re: Trying to use UI accordion to create menu with event: click but still enable links on child link items

2009-04-30 Thread Gamby
I've just resolved specifying a header option in my accordion... But now I have antoher question, what if I wanted to add a link also in my header? Thanks again Best regards On 30 Apr, 12:15, Gamby r.gambe...@gmail.com wrote: I have the same problem... the only difference is that my component

[jQuery] Re: new version of loopedSlider is out! Looking for feed back

2009-04-30 Thread Nathan
Yes that is very possible and pretty easy. Just download and include the jQuery Easing Plugin into your page: http://gsgd.co.uk/sandbox/jquery/easing/ And lets say you want to add easeInOutExpo easing to the slide animation. Just find the two lines that have: $(o.slides,obj).animate({left:

[jQuery] How to reduce this code by chain them up?

2009-04-30 Thread Liming
Hello, I have a div ( id=rightheader) and inside there is a table. The following code replace all content of the table with empty space and then remove the table header. var $templateTable = $(div#rightheader).clone(); $(tbody tr td div , $templateTable).html(nbsp);

[jQuery] Re: new version of loopedSlider is out! Looking for feed back

2009-04-30 Thread Sam Sherlock
- S 2009/4/30 Nathan nsear...@gmail.com Yes that is very possible and pretty easy. Just download and include the jQuery Easing Plugin into your page: http://gsgd.co.uk/sandbox/jquery/easing/ And lets say you want to add easeInOutExpo easing to the slide animation. Just find the two

[jQuery] jQuery/JS/canvas/PHP remotely *shared* whiteboard

2009-04-30 Thread lorlarz
A remotely shared white board, using regular JavaScript, jQuery, the canvas element and PHP. I hope I (or someone else) can get this thing working. The new 8:25 a.m. (US CST) version in http://mynichecomputing.org/roughDrawKit.zip should work -- though I still have not seen it work, perhaps

[jQuery] Re: jQuery/JS/canvas/PHP remotely *shared* whiteboard

2009-04-30 Thread lorlarz
Oh, please email me at lorlarz at gmail.com if you get it working (or make it work better) On Apr 30, 9:19 am, lorlarz lorl...@gmail.com wrote: A remotely shared white board, using regular JavaScript, jQuery, the canvas element and PHP. I hope I (or someone else) can get this thing working.

[jQuery] Re: unsubscribe

2009-04-30 Thread digambar mishra
please unsubsribe me from this group. On Wed, Apr 29, 2009 at 9:51 PM, Venkatesan Kannan shareve...@gmail.comwrote: Please unsubscribe from this group.

[jQuery] Problems when use Jquery and my js code together

2009-04-30 Thread Tanco
when i am using my js: // JavaScript Document var ddajaxtabssettings={} ddajaxtabssettings.bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no) ddajaxtabssettings.loadstatustext=img src='images/loading.gif' / Requesting content... NO NEED TO EDIT

re[jQuery] lacing text from a drop down box

2009-04-30 Thread Mull77
I have a dropdown box that when a value is selected changes and '' in the text to amp ; http://www.nabble.com/file/p23312654/dropdown1.png http://www.nabble.com/file/p23312654/dropdown2.png select class=frmSelect frmSelectJS name= option value=University nameUniversity name/option etc

[jQuery] Placing text from a drop down box

2009-04-30 Thread Mull77
I have a dropdown box that when a value is selected changes and '' in the text to amp ; http://www.nabble.com/file/p23316800/dropdown1.png http://www.nabble.com/file/p23316800/dropdown2.png select class=frmSelect frmSelectJS name= option value=University nameUniversity name/option etc I'm

[jQuery] SuperFish menu and the z-index property.

2009-04-30 Thread gquennes...@gmail.com
Hi, I am using a Superfish menu in my Joomla web site. Works well enough with my customisations. The problem is I use a javascript Slideshow just below the menu. This slideshow uses both the z-index and opacity property to fade images ontop of one another. In IE7, the superfish's submenu pops

[jQuery] Re: jQuery barcode

2009-04-30 Thread betweenbrain
Hi Antonello, How would you propose using this to process large sets of data? I *quickly* implemented it for a paragraph, viewable at http://betweenbrain.com/lab/barcode/paragraph.html , as well as a list, http://betweenbrain.com/lab/barcode/list.html . The only issue I ran into was determining

[jQuery] Re: cluetip jsonp and jquery doesn't play nice together

2009-04-30 Thread Karl Swedberg
If I'm understanding you correctly, the only way I can think of to get around this (off the top of my head) is to include the metadata plugin and set the datatype directly in the html. http://docs.jquery.com/Plugins/Metadata/metadata something like this (incomplete/untested): a href=foo

[jQuery] problem with closing all found divs

2009-04-30 Thread heohni
Hi, my source looks like this: table width=100% border=0 id=edit_categories tr td colspan=3 align=righta href=/admin/index.php? action=categoriesfunction=addsub=addNeu hinzufügen/a br / br / /td /tr tr style=background-color: #FF; td span class=name_1

[jQuery] Using .get to call perl script - Does not seem to be working

2009-04-30 Thread septemberbrain
I want a cgi script to run whenever a link is clicked on. I thought I had it working but the cgi script does not seem to be getting called. Below is code I am using. When using the $.get command I had to make it $(document).get for it to work properly. Any help would be greatly appreciated.

[jQuery] Re: unsubscribe

2009-04-30 Thread ryan.j
change the email settings here - http://groups.google.com/group/jquery-en/subscribe no more emails, and all is well. On Apr 30, 3:31 pm, digambar mishra digambarmis...@gmail.com wrote: please unsubsribe me from this group. On Wed, Apr 29, 2009 at 9:51 PM, Venkatesan Kannan

[jQuery] generated content(PHP) into DIV?

2009-04-30 Thread Tony
Hello Everyone! I have 3 DIV's next to each other. I want that the first div is loaded over jquery with a php file which outputs an unordered list in html. When I click on a list item in the first DIV I want that jquery sends the parameters from the list to a second php file for making an

[jQuery] form submit during getJSON

2009-04-30 Thread Ben
I am having trouble submitting a form by clicking on a button input type='submit' / while I am waiting for the callback of the $.getJSON function to fire. Is there a way to allow the form to submit even if the callback is never called?

[jQuery] Re: Placing text from a drop down box

2009-04-30 Thread postream
try this code: http://paste.pocoo.org/show/115117/ sample: http://www.playquery.it/sandbox/1/ but maybe using jQuery for this is not the best thing you can do... On 30 Apr, 15:57, Mull77 ian.mul...@think.eu wrote: I have a dropdown box that when a value is selected changes and '' in the

[jQuery] Re: Problems when use Jquery and my js code together

2009-04-30 Thread postream
this code is unreadable... please use a service like http://paste.pocoo.org/ to show your code (and maybe provide an URL with a page sample) regard, Valentino On 30 Apr, 16:12, Tanco tanco.w...@gmail.com wrote: when i am using my js: // JavaScript Document var ddajaxtabssettings={}

[jQuery] Re: unsubscribe

2009-04-30 Thread ryan.j
go here to unsubscribe you lazy bugger - http://groups.google.com/group/jquery-en/subscribe

[jQuery] Resetting the reset button

2009-04-30 Thread russellneufeld
Hi all, I've got a set of forms which all act the same way - the form submit is handled by the jQuery form plugin which redirects the output to a div on the page. That means that when the user hits submit, the page in the browser doesn't change. The success or failure of the form submit is

[jQuery] Re: cluetip jsonp and jquery doesn't play nice together

2009-04-30 Thread postream
looking at the cluetip code, this cant' be the problem this are lines 228 and 299 of the lastest version: var ajaxMergedSettings = $.extend(true, {}, opts.ajaxSettings, ajaxSettings); $.ajax(ajaxMergedSettings); the dataType is stored in opts.ajaxSettings so, every time an ajax call is

[jQuery] Re: form submit during getJSON

2009-04-30 Thread András Csányi
2009/4/30 Ben bhoipkem...@gmail.com: I am having trouble submitting a form by clicking on a button input type='submit' / while I am waiting for the callback of the $.getJSON function to fire. Is there a way to allow the form to submit even if the callback is never called? Have you tried

[jQuery] Re: form submit during getJSON

2009-04-30 Thread donb
Whoa! That link sents me to a 'spyware-files.info' website!!! On Apr 30, 12:30 pm, András Csányi sayusi.a...@gmail.com wrote: 2009/4/30 Ben bhoipkem...@gmail.com: I am having trouble submitting a form by clicking on a button input type='submit' / while I am waiting for the callback of

[jQuery] Problem w/ Time picker plugin

2009-04-30 Thread Eric H
Hello, I'm implementing this Jquery time picker: (http://plugins.jquery.com/ project/pttimeselect) and It works perfectly until I try to add a php var to the value of the input tag. Here's my form code: [code] form action=?php echo $_SERVER['PHP_SELF'] ? method=post div

[jQuery] bgiframe for PDF overlay not working

2009-04-30 Thread Bailo, John
I have a PDF file that appears in an IFRAME. I use the ddsmoothmenu but the dropdowns will not overlay the PDF. I read I could use the bgiframe plugin to solve the problem, but so far have been unsuccessful…the PDF always appears on top. Does anyone have any experience using bgiframe to

[jQuery] Re: form submit during getJSON

2009-04-30 Thread András Csányi
2009/4/30 donb falconwatc...@comcast.net: Whoa!  That link sents me to a 'spyware-files.info' website!!! Which link? What I'm suggested or my blogs link? Both working for me. -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- Bízzál Istenben és tartsd szárazon a puskaport!.--

[jQuery] Re: jQuery barcode

2009-04-30 Thread Ricardo
What I meant is, is this solely for generating barcodes for printing? Or is someone going to laser scan an LCD screen? On Apr 29, 2:07 pm, Antonello Pasella antonello.pase...@gmail.com wrote: On 29 Apr, 18:28, Ricardo ricardob...@gmail.com wrote: Does this have any use case besides printing?

[jQuery] Animate Variable Concatenate Help

2009-04-30 Thread paper_robots
I'm trying to get the width of an element, animate it bigger, then shrink it back to normal size on hover. Here's my function: $('a.slider').hover(function(){ var mywidth = $(this).width(); $(this).animate({width: 240px}); }, function(){

[jQuery] Re: How to reduce this code by chain them up?

2009-04-30 Thread Ricardo
On Apr 30, 10:27 am, Liming lmxudot...@gmail.com wrote: Hello, I have a div ( id=rightheader)  and inside there is a table. The following code replace all content of the table with empty space and then remove the table header. var $templateTable = $(div#rightheader).clone(); $(tbody tr

[jQuery] Re: form submit during getJSON

2009-04-30 Thread donb
The malsup link. I should say Firefox displays a 'site unavailable' page. Although I was directed the URL, it's apparently offline at the moment. On Apr 30, 12:44 pm, András Csányi sayusi.a...@gmail.com wrote: 2009/4/30 donb falconwatc...@comcast.net: Whoa!  That link sents me to a

[jQuery] Re: problem with closing all found divs

2009-04-30 Thread Ricardo
On Apr 30, 12:19 pm, heohni heidi.anselstet...@consultingteam.de wrote: Hi, my source looks like this: (...) For some reason, the first table row stays always open... the second (and all following) are closed. What I do wrong? Is there a better way? I decided for this way, as I don't

[jQuery] Media Plugin (Malsup)

2009-04-30 Thread David
First off this media plugin is awesome and has saved me a lot of time, thanks for all your work in developing this! Now to the issue. I am sure you have come across this before where you have 5-10 players on a page and you click the first player to listen and then about halfway through you

[jQuery] Re: jQuery/JS/canvas/PHP remotely *shared* whiteboard

2009-04-30 Thread lorlarz
The version in the zip file now works (though no doubt could be improved): http://mynichecomputing.org/roughDrawKit.zip On Apr 30, 9:20 am, lorlarz lorl...@gmail.com wrote: Oh, please email me at lorlarz at gmail.com if you get it working (or make it work better) On Apr 30, 9:19 am,

[jQuery] Re: How to reduce this code by chain them up?

2009-04-30 Thread Liming
Ah.. okay. so it's .html() that's messing me up. Thanks Ricardo. My original way of querying the templateTable by passing itself as a context was awkward, the way you did is much more fluent. That helps me a lot not only in this particular example, but helped me understand the chainability as

[jQuery] removing jQuery UI draggable revertDuration

2009-04-30 Thread Ty Wangsness
I am using jQuery UI's Draggable plugin to allow the user to drag an image from a box onto a google map to set a marker... the image they were dragging then snaps back to the box it was originally inside of. I'm running the code that updates the map using the draggable's 'dragend' event,

[jQuery] flexbox question

2009-04-30 Thread Jack Killpatrick
I'm evaluating Flexbox for a project: http://www.fairwaytech.com/Technology/FlexBoxDemo.aspx In example #1 there I can type in some chars and items with those chars *inside* a result get highlighted (though only the first instance of the found chars in any given item gets highlighted). In

[jQuery] Re: cluetip jsonp and jquery doesn't play nice together

2009-04-30 Thread cluetip user
On Apr 30, 6:08 pm, postream valentino.alu...@gmail.com wrote: looking at thecluetipcode, this cant' be the problem this are lines 228 and 299 of the lastest version: var ajaxMergedSettings = $.extend(true, {}, opts.ajaxSettings, ajaxSettings); $.ajax(ajaxMergedSettings); the dataType

[jQuery] Confirmation alert fires multiple times with jQuery click

2009-04-30 Thread st
I add multiple items with each click and then I want to remove them one by one by clicking. All is ok, but if I add 2-3 items and the click the first one, confirmation alert fires multiple times when i click Cancel. The number of times depends on how many items goes after curent. Please help to

[jQuery] Confirmation alert fires multiple times with jQuery click

2009-04-30 Thread st
I add multiple items with each click and then I want to remove them one by one by clicking. All is ok, but if I add 2-3 items and the click the first one, confirmation alert fires multiple times when i click Cancel. The number of times depends on how many items goes after curent. Please help to

[jQuery] Re: Conditional required fields

2009-04-30 Thread Thomas Allen
Thanks. I ended up using the classes add/remove style, and it works well. However, a method that should be called on every page load is not working properly. I am sure that it's being called (tested with the console), but the removeValidators() method doesn't seem to work properly.

[jQuery] Re: generated content(PHP) into DIV?

2009-04-30 Thread Ricardo
On Apr 30, 12:23 pm, Tony tony.mak...@ymail.com wrote: Hello Everyone! I have 3 DIV's next to each other. I want that the first div is loaded over jquery with a php file which outputs an unordered list in html. When I click on a list item in the first DIV I want that jquery sends the

[jQuery] .html() causes null IE

2009-04-30 Thread Jose Alfonso
Hi, I am pretty new to jQuery and I am using the tablesorter plugin and I am getting a .html() is null or not an object error within a custom parser the code var ts = $.tablesorter; // add parser through the tablesorter addParser method

[jQuery] Re: Confirmation alert fires multiple times with jQuery click

2009-04-30 Thread James
That's because you are binding the event again to all existing elements with class close. A real hack-ish workaround is doing: $(.close).unbind(click).bind(click, function() { ... (this unbind all the click and rebinds them again) A more elegant solution is to bind it only to the element you're

[jQuery] Re: removing jQuery UI draggable revertDuration

2009-04-30 Thread Richard D. Worth
Could you post this question to the jQuery UI list http://groups.google.com/group/jquery-ui so it's not missed? Thanks. - Richard On Thu, Apr 30, 2009 at 1:22 PM, Ty Wangsness t...@emarketsouth.com wrote: I am using jQuery UI's Draggable plugin to allow the user to drag an image from a box

[jQuery] Re: Why would an id become undefined?

2009-04-30 Thread James
Make sure you're including the libraries in the right order. That is: // include jQuery library // call jquery.noConflict // include Prototype or some other libraries // do your jquery or other code On Apr 29, 9:17 am, $(Noob).bee dee@gmail.com wrote: Are there any debugging tools to trace

[jQuery] Re: Confirmation alert fires multiple times with jQuery click

2009-04-30 Thread st
The second method does not allow to assign a click to variable. I get an error. But hack-ish method at least works, thanks! :) On Apr 30, 9:55 pm, James james.gp@gmail.com wrote: That's because you are binding the event again to all existing elements with class close. A real hack-ish

[jQuery] Re: Animate Variable Concatenate Help

2009-04-30 Thread pete higgins
$(this).animate({ width: mywidth + px }); think: var newwidth = { width: mywidth + px } Regards On Thu, Apr 30, 2009 at 5:54 PM, paper_robots mresto...@gmail.com wrote: I'm trying to get the width of an element, animate it bigger, then shrink it back to normal size on hover. Here's my

[jQuery] Re: Confirmation alert fires multiple times with jQuery click

2009-04-30 Thread James
Sorry. Maybe this: function addtag() { var $close = $('b class=closex/b'); // wrap as jquery object $close.click(function() { if (confirm('Are you sure you want to remove this?')){ $(this).remove();

[jQuery] Re: Confirmation alert fires multiple times with jQuery click

2009-04-30 Thread st
nope, when this function executes: $(this).before('p'+$close+'/ p'); it gives: [object Object] :) On Apr 30, 10:18 pm, James james.gp@gmail.com wrote: Sorry. Maybe this:         function addtag() {                 var $close = $('b class=closex/b');  // wrap as jquery object            

[jQuery] Re: Animate Variable Concatenate Help

2009-04-30 Thread paper_robots
I tried that initially. It didn't work. I think my variable isn't being recognized by the second half of my function. I get this error in firebug.. mywidth is not defined. But if I alert it in the upper half I get a value. On Apr 30, 2:15 pm, pete higgins phigg...@gmail.com wrote:

[jQuery] Re: jquery treeview menu problem

2009-04-30 Thread award...@gmail.com
I just figured this one out. You need to explicitly hide the child ULs for IE to correctly animate the Treeview. In your CSS set your UL UL to display:none; and you should be just fine. On Apr 10, 5:23 am, Titti prima...@gmail.com wrote: Hi, i'm using jquery treeview

[jQuery] Re: Confirmation alert fires multiple times with jQuery click

2009-04-30 Thread James
Sorry about that too! Try: $(this).before('p'+$close.html()+'/p'); Just note that $close is an actual jQuery object, so you can do whatever jQuery stuff you want to it, such as attach events, append text, etc. On Apr 30, 9:33 am, st s...@studio.ee wrote: nope, when this function executes:

[jQuery] Re: Confirmation alert fires multiple times with jQuery click

2009-04-30 Thread st
strange, but now it prints just x, without included HTML.

[jQuery] Re: suppressing toggle on link click

2009-04-30 Thread Ryan
Does anyone know how to accomplish what Christopher is asking? I have the exact same question as I want my treeview to expand/collapse when the +/- are clicked but not the node's title. Thanks, Ryan On Apr 13, 3:10 pm, Christopher Litsinger g33k.m...@gmail.com wrote: I'm using the

[jQuery] Re: Why would an id become undefined?

2009-04-30 Thread Dee Ayy
Thanks for your reply. It turns out that the bug was that I am going blind. The case of the id was mistyped. A different font style, size or glasses may have helped (or a debugging tool that shows all id's in a document and if they are in fact unique): hid hId hId hid

[jQuery] Re: Applying Table Row Sorter to Multiple Tables

2009-04-30 Thread aquaone
IDs are unique for a document. A document containing multiple elements with the same ID is invalid. Use a class instead and invoke tablesorter on all tables with that class. e.g. table class=tablesorter ... /table and $(table.tablesorter).tablesorter({ widgets: ['zebra'] }); On Wed, Apr 29,

[jQuery] Re: Zebra (stripes) Widget vs Colgroups (CSS)

2009-04-30 Thread aquaone
tr style is overriding the colgroup style. Perhaps this diagram will explain it well. http://www.w3.org/TR/CSS21/tables.html#table-layers aquaone On Wed, Apr 29, 2009 at 20:30, David Blomstrom david.blomst...@gmail.comwrote: I'm using jQuery and the Zebra widget to produce alternately

[jQuery] Re: tablesorter.js vs Numerals with Commas

2009-04-30 Thread aquaone
There are two simple ways of fixing this: having a hidden span or similar element appearing within your td prior to the value or better to define your own parser. e.g. $.tablesorter.addParser({ id: commaNum, is: function(s) { return /^[\d-]?[\d,]*(\.\d+)?$/.test(s); },

[jQuery] Re: generated content(PHP) into DIV?

2009-04-30 Thread bjorsq
Hi there, Here is a very simple implementation of what you are talking about - it assumes you have three divs in the markup with IDs 'place', 'house', and 'level', and that you load content for these from 'places.php', houses.php' and 'levels.php' respectively. It also assumes that the PHP

[jQuery] Re: tablesorter.js vs Numerals with Commas

2009-04-30 Thread JGALFO
Hi, I am posted a similar question where I am getting a null or not an object error on .hml() in IE Perhaps you can help. I am trying to build a custom parser that will extract the data from a span ts.addParser({

[jQuery] $(window).resize event does not fire in IE8

2009-04-30 Thread ThaStark
Hey Guys - I am posting this question a second time and apologize if someone answered it in the other thread - I cannot find the post anywhere on this list. $(window).resize(function(){ alert(Stop it!); }); Is not firing in IE8 - this is the exact sample code provided at:

[jQuery] firefox hover bug with 'title' attribute?

2009-04-30 Thread Jon Crump
jQuery 1.2.6 and Firefox 3.0.7 on MacBook OS X 10.5.5 If I might renew an unanswered thread: I've encountered this twice now in different contexts. This only occurs in FF, so far as I know. If .hover() is acting on a div that contains an image link, and that link has a title attribute,

[jQuery] Re: firefox hover bug with 'title' attribute?

2009-04-30 Thread waseem sabjee
does the same instance occur if you use any of the jquery 1.3.x scripts ? On Fri, May 1, 2009 at 12:21 AM, Jon Crump jjcr...@myuw.net wrote: jQuery 1.2.6 and Firefox 3.0.7 on MacBook OS X 10.5.5 If I might renew an unanswered thread: I've encountered this twice now in different contexts.

[jQuery] Style div overflow scrollbar ? cant find jQuery equivalent to this

2009-04-30 Thread DB
Hello all. I've been looking around for a jQuery plugin that will let me style the scrollbar you get when a div uses overflow(vertical). When i say style i dont mean just change the color, i mean change the overall look. This is exactly what i need i think.

  1   2   >