[jQuery] Re: [ANNOUNCE] Machinetag plugin- initial release

2009-04-15 Thread Jean
i want to know how to structure that in sql On Tue, Apr 14, 2009 at 10:16 PM, cldwalker gabriel.hor...@gmail.com wrote: Hi,  I'm announcing the initial release of Machinetag,  a jQuery plugin for your machine tag needs. Machine tags (aka triple tags) are just tags with two levels of

[jQuery] accordian div change on another button??

2009-04-15 Thread HISSAM
Hii guys, Tell me how to change a div of an accordian on a click of some other button I also want to prevent the default event of changing div on click on header How do I do it? Please help in urgency!!

[jQuery] Re: how to call 1 function from many buttons by passing parameters

2009-04-15 Thread HISSAM
thanks dude!! On Apr 15, 10:35 am, Mohd.Tareq tareq.m...@gmail.com wrote: Hi Hissam, If you have 5 div : $(function(){ $('.common').click(function(e){ $('.common').hide(); var targetId = e.target.id; $('#'+targetId).show(); }); }); div id=1 class=common/div div id=2

[jQuery] Re: [autocomplete] charset

2009-04-15 Thread borutt
Hello, I have watched backend log of requests with fiddler. For input request I get this: GET /PHP/data.php?sid=0.179863580913668q= %C4%8Duklimit=10timestamp=1239779442412 HTTP/1.1 x-requested-with: XMLHttpRequest Accept-Language: sl Referer: http://172.21.6.1/PHP/data.php Accept: */* UA-CPU:

[jQuery] Re: Final Four: Grabbing Keys, Styling Columns, Pop Up Forms, Edit Select Lists?

2009-04-15 Thread Tony
Hello, #1) Yes you are right and I agree that the id should be configurable from the developer. This of course requiere a lot of work, but I think I will implemet this. #2) Check to see if you have loaded all the needed css and js files. This is mostley caused that jqModal.css is not loaded.

[jQuery] Handling html with javascript in .html()

2009-04-15 Thread Snef
When using $.ajax() i encounter some problems. With the ajax I'm calling a script that will return some html. When echoing the returned data, I can see that everything is returned including the javascript tags. When 'inserting' the returned data into a div on the screen, the javascript seems to

[jQuery] datepicker

2009-04-15 Thread HISSAM
guys I have 2 datepickers 1)arrivalDate 2)DepartDate The mindate of Depart must be the mindate of ArrivalDate I'm able to get the arrival date but I'm unable to set that in depart mindate attribute //arrivaldate.value=14/04/2009//which is erroneous when set to depart date

[jQuery] Re: datepicker

2009-04-15 Thread HISSAM
I did it By using the Date class function getEndDate() { var s=document.getElementById(arrivalDate).value; alert(s); if(s==) { alert(Please select start date first); } else{ var d=new Date(s);

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Jake
I'd suggest .live() still. Or maybe you could try eval() those JavaScript code after Ajax fetch and DOM manipulation complete manually? btw, do you check the page source using `view page source' or firebug's dom inspector? latter recommended. On Apr 15, 3:56 pm, Snef sne...@gmail.com wrote:

[jQuery] how can I add to different elements inside a jQuery object?

2009-04-15 Thread hybris77
ponder something like this: var elements = $( '#template_elements' ).html(); $( elements .mol_row ).append( td+ molname +/td); is that the correct way to add to a particular element inside a cached jQuery object? many thanks /pär

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread András Csányi
2009/4/15 Snef sne...@gmail.com: When using $.ajax() i encounter some problems. With the ajax I'm calling a script that will return some html. When echoing the returned data, I can see that everything is returned including the javascript tags. When 'inserting' the returned data into a div

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread András Csányi
2009/4/15 Snef sne...@gmail.com: I already tried it with the $(document).ready(function(){.}). No success. :( And through $.getJSON()? At night I can send you an string what is go through json into $(#foo).html(); András -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando --

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Snef
The 'problem' using .live() is that i need to have all the scripts loaded even when they are not used. I just wanted to have only the scripts related to that form. The check is either in 'view generated source' in FF and the dom inspector. I'm not sure about eval, sounds like evil ;) A simple

[jQuery] grabbing html and putting it back

2009-04-15 Thread hybris77
anyone. Please look at the following example, useless code since it's just grabbing, html and putting it back again but I need to do this and more inbetween my problem is that it's just not working, my browser kindof crashing, not completely but nearly var mol_elements = $(

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Snef
Donny Kurnia schreef: Snef wrote: When using $.ajax() i encounter some problems. With the ajax I'm calling a script that will return some html. When echoing the returned data, I can see that everything is returned including the javascript tags. When 'inserting' the returned data

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Snef
Well a tip to all. When having problems, first give your pc a nice reboot ;) Suddenly it is working :S Don;t know why, but it is. Thanx for all support! Snef schreef: Donny Kurnia schreef: Snef wrote: When using $.ajax() i encounter some problems. With the ajax I'm calling a

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread András Csányi
2009/4/15 Snef sne...@gmail.com: Well a tip to all. When having problems, first give your pc a nice reboot ;) Are you serious? :) Which OS do you have? Suddenly it is working :S Don;t know why, but it is. O_o -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- Bízzál

[jQuery] Re: grabbing html and putting it back

2009-04-15 Thread hybris77
thanks Chandan Im using FF but I have a feeling im doing something else that is not correct, it's all connected to the other threads Im posting on the forum today I need some personal assistence, here, too much code to post on the forum, not too likely anyone's got time to look at it many

[jQuery] Re: how can I add to different elements inside a jQuery object?

2009-04-15 Thread hybris77
thanks for the advice sometimes thought it seems all things possible is not to be found SO easily on the jQuery documentation pages nice one On 15 Apr, 11:32, Donny Kurnia donnykur...@gmail.com wrote: hybris77 wrote: ponder something like this: var elements = $( '#template_elements'

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Snef
I do not think it is due to $.ajax function. Even when using plain $ (#freediv).html(.) it won't work. (and I don't need json yet). András Csányi schreef: 2009/4/15 Snef sne...@gmail.com: I already tried it with the $(document).ready(function(){.}). No success. :( And through

[jQuery] Re: [ANNOUNCE] Machinetag plugin- initial release

2009-04-15 Thread cldwalker
I've built a similar sql-version as a rails plugin: http://github.com/cldwalker/has_machine_tags/tree/master Since you're interested in the sql, you should look here for the schema: http://github.com/cldwalker/has_machine_tags/blob/master/test/schema.rb . The jquery plugin, though simpler and

[jQuery] Re: grabbing html and putting it back

2009-04-15 Thread Chandan Luthra
Which browser are you using? This code is working *Completely* on FF With Regards, Chandan Luthra Intelligrape Software Pvt. Ltd. Henny Youngmanhttp://www.brainyquote.com/quotes/authors/h/henny_youngman.html - I told the doctor I broke my leg in two places. He told me to quit going to those

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Snef
András Csányi schreef: 2009/4/15 Snef sne...@gmail.com: When using $.ajax() i encounter some problems. With the ajax I'm calling a script that will return some html. When echoing the returned data, I can see that everything is returned including the javascript tags. When

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Donny Kurnia
Snef wrote: When using $.ajax() i encounter some problems. With the ajax I'm calling a script that will return some html. When echoing the returned data, I can see that everything is returned including the javascript tags. When 'inserting' the returned data into a div on the screen, the

[jQuery] Re: how can I add to different elements inside a jQuery object?

2009-04-15 Thread Donny Kurnia
hybris77 wrote: ponder something like this: var elements = $( '#template_elements' ).html(); $( elements .mol_row ).append( td+ molname +/td); is that the correct way to add to a particular element inside a cached jQuery object? many thanks /pär You must swap the selector:

[jQuery] Re: Selecting radio buttons within different RadioGroups via a click

2009-04-15 Thread madrid440-goo...@yahoo.co.uk
I should have added some clearer HTML. I've added tables to break it up a bit: input type=submit name=button1 id=button1 value=Selection1 / input type=submit name=button2 id=button2 value=Selection2 / table tr td labelinput type=radio name=RadioGroup1 value=0 id=RadioGroup1_0 /0/label

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-15 Thread Klaus Hartl
On 14 Apr., 19:15, dhtml dhtmlkitc...@gmail.com wrote: problem is that that Dreamweaver method is using document.write which can cause a problem depending on where the function is being called and which is usually avoided in jQuery land. Calling document.write in a jQuery ready callback

[jQuery] Re: Help Me Optimize My First JQuery Script (Extinguish The Early Flames of Bad Practices)

2009-04-15 Thread MorningZ
I don't know if this falls under bad practice or not, but time and time again here on the group, people post code like yours where they use an a tag to do something that has nothing to do with an a tag If you don't want to go somewhere, why not just use a span or a div and hang the click event

[jQuery] jQuery plugin scope

2009-04-15 Thread hugo
if(jQuery) (function($) { // plugin definition $.fn.hilight = function (options) { debug(this); // build main options before element iteration var options = $.extend({}, $.fn.hilight.defaults, options); // iterate

[jQuery] Basic Selector expression only work on Chrome, no other browsers

2009-04-15 Thread Tao
Hi, I have the follow simple html code: div style=FILTER: progid:DXImageTransform.Microsoft.Gradient (GradientType=1, StartColorStr=#, EndColorStr=#7E003366); WIDTH: 794px; HEIGHT: 685px Hello /div And I try to use follow code to get the div element:

[jQuery] [autocomplete] ExtraParam

2009-04-15 Thread Dreamer
Would like to suggest to change the code from extraParams[key] = typeof param == function ? param() : param; to extraParams[key] = typeof param == function ? param.apply(input) : param; Then the extraParam function is able to use 'this' to locate the DOM node, similar as result event handler.

[jQuery] jQuery.autocomplete skipping GET calls...

2009-04-15 Thread jquery at technicalbloke.com
Hi, This is the version of jQuery.autocomplete I'm using... * Revision: $Id: jquery.autocomplete.js 5747 2008-06-25 18:30:55Z joern.zaefferer $ I'm having a problem with autocomplete skipping GET calls. I have a thread already open over at stack overflow (

[jQuery] please help

2009-04-15 Thread Gabi
i've interrated jquery treeview in one of my webpages and it works well in firefox. however, it doesn't work at all in internet explorer if i set $(#browser).treeview collapsed: true, because branches simply don't open. if i use the defaults (collapsed: false), it is ok, but i would like it to be

[jQuery] Re: Error with BlockUI: 'parentNode' is null or not an object

2009-04-15 Thread Mike Alsup
http://www.malsup.com/jquery/block/#page Thanks, Jonathan! :-)

[jQuery] How to use Autocomplete in POST ajax method ?

2009-04-15 Thread zeojex
Hi, This is my question : How can i change the default GET method of autocomplete function in POST method ? Thx a lot

[jQuery] Re: IE7 returning 0 for attr(width) on an img with width set

2009-04-15 Thread rudders
Just out of interest how did you work around that? I have been battling this problem for a couple of days now! On Mar 26, 2:30 am, nabrown78 nabrow...@gmail.com wrote: Aha! The problem was that the li elements which contained the images were set to display:none in the CSS. I guess I can work

[jQuery] Code Slider problem

2009-04-15 Thread sato.ph...@gmail.com
I am trying to implement the coda slider javascript as seen on the jqueryfordesigners page: http://jqueryfordesigners.com/coda-slider-effect/ I have it working on FF/Safari for Mac, as well as IE for Windows. However, strangely, it will not work properly on FF for Windows. Though it loads and

[jQuery] Re: Highlight table row

2009-04-15 Thread spstieng
Nope, that didn't help :( Steven On 15 Apr, 00:18, James james.gp@gmail.com wrote: This does ahighlighton mouseover and removehighlighton mouseout. Is this what you want? // untested $(#storeListTable tbody tr).hover(      function() {  // mouseover          

[jQuery] Re: IE8 BlockUI incompatible

2009-04-15 Thread Anand
Hi All, I have it! The solution to the problem where the blockUI plugin doesn't working in IE8 is as follows: on line 151 simply change: var ie6 = $.browser.msie /MSIE 6.0/.test(navigator.userAgent); to var ie6 = $.browser.msie /MSIE 6.0/.test(navigator.userAgent) !(/ MSIE

[jQuery] $.get callback function fails - but only in IE

2009-04-15 Thread Bjaergager
I have a function that uses $.get to retrieve xml and in the callback function it will update a form. The function works fine in FF3 - but not in IE7, in IE7 I can see that the $.get DO request the xml with correct parameters - but the callback function never is called. Here's my function -

[jQuery] [Q] How to : Creating IFrame

2009-04-15 Thread Osman Ü .
Hi, Im using two different sized iframe in one page How can i create iframes with jquery Sample iframe code iframe src=someUrl name=someName width = 570px height = 500px align=left scrolling=No frameborder=no id=SomeID/iframe

[jQuery] Re: Code Slider problem

2009-04-15 Thread Jonathan Vanherpe (T T NV)
sato.ph...@gmail.com wrote: I am trying to implement the coda slider javascript as seen on the jqueryfordesigners page: http://jqueryfordesigners.com/coda-slider-effect/ I have it working on FF/Safari for Mac, as well as IE for Windows. However, strangely, it will not work properly on FF for

[jQuery] Re: assign event handler to multiple events

2009-04-15 Thread Tom Worster
On 4/14/09 6:21 PM, James james.gp@gmail.com wrote: $('.things').bind('focus change click', function() { // your code here }); ah ha! thanks. that is tidy. tom

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Charlie Tomlinson
simple solution using your example that works Create a js file "test.js" containing : $('#freediv').html('h1 id="test"test/h1'); $("#test").click(function(){ alert("Bla"); }); I used an a tag in html to click to call the test.js file as follows: script type="text/_javascript_"

[jQuery] Re: Form validator - cross field validation

2009-04-15 Thread AndyCramb
Hi Jörn, Yes I will get a test page up and running Interestingly enough it works fine in IE6 but is not working in FF3.0.7 Thanks Andy On Apr 14, 9:42 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Okay, then its something else. Could you provide a testpage? Jörn On Tue, Apr 14,

[jQuery] Re: Animation Issue

2009-04-15 Thread Leonardo K
Your page didn't work in Opera, IE7 and IE6. :( Instead of using display:inline-block on span.projects, change to float:left; Another thing, when using the animation, i dont know why, but the jquery use overflow:hidden and your left image (border) disappear in the animation. So this css should

[jQuery] Jorn's Autocomplete, how to reference textbox in result event

2009-04-15 Thread MorningZ
In this snippit of code, where i pass the jQuery object that is the textbox into: function WireUpAutocomplete($txt) { $txt.autocomplete( /services/Autocomplete.ashx ).result(function(e, d, f) { // How do i know what textbox the user is on here? }); } I could wire

[jQuery] Re: Animation Issue

2009-04-15 Thread Connor
Thanks! Your advice worked like a charm. On Apr 15, 7:58 am, Leonardo K leo...@gmail.com wrote: Your page didn't work in Opera, IE7 and IE6. :( Instead of using display:inline-block on span.projects, change to float:left; Another thing, when using the animation, i dont know why, but the

[jQuery] Re: Superfish menus in nav-bar style require subnavs to behave correctly?

2009-04-15 Thread TenzoChris
I got feedback privately complaining about my example. I'd chosen to just use the plugin page (with a minor edit) to demonstrate the problem without wasting people's time on potential CSS causes, since the problem also manifests using the demonstration page. I should have done a better job

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Donny Kurnia
Snef wrote: Donny Kurnia schreef: Snef wrote: When using $.ajax() i encounter some problems. With the ajax I'm calling a script that will return some html. When echoing the returned data, I can see that everything is returned including the javascript tags. When 'inserting' the

[jQuery] Re: grabbing html and putting it back

2009-04-15 Thread Donny Kurnia
hybris77 wrote: anyone. Please look at the following example, useless code since it's just grabbing, html and putting it back again but I need to do this and more inbetween my problem is that it's just not working, my browser kindof crashing, not completely but nearly var

[jQuery] Assigning variable on click

2009-04-15 Thread Connor
Hi, One other quick question: I'm trying to assign a value to a variable when a certain element is clicked. Here is my code (wrapped in the normal jquery ready function) $(span.yellow).click(function(){ var color = '#f8e226';

[jQuery] Re: [autocomplete] charset

2009-04-15 Thread Tom Worster
On 4/15/09 3:19 AM, borutt borut.toma...@gmail.com wrote: GET /PHP/data.php?sid=0.179863580913668q=%C4%8Duk %C4%8D is the urlencoding of the utf-8 codepoint for 'č'. My input was čuk but like it's seen from GET params, q param has strange chars. But in QueryString it is ok. i don't know

[jQuery] [autocomplete] Sorry...

2009-04-15 Thread jquery at technicalbloke.com
Jorn wants autocomplete posts tagged [autocomplete] in the Subject line so I'm just reposting a link to my last question (and coincidentally bumping my post ;-) so he might spot it! http://groups.google.com/group/jquery-en/browse_thread/thread/d07cc74a05342b7a or on Stackoverflow.com...

[jQuery] dialog drag problem in firefox

2009-04-15 Thread Edmar
The dialog works fine in Safari and Chrome but not in Firefox even in the Demos of Jquery UI page, if you start drag the dialog sometimes the cursor escapes the drag helper of the dialog.

[jQuery] Re: Assigning variable on click

2009-04-15 Thread Josch
You initialize the variable within your function (var color). This means the variable works only within the function. You have to initialize it outside your function (Before $ (span.yellow).click()). Josch On 15 Apr., 15:26, Connor con...@letsbeglobal.com wrote: Hi, One other quick

[jQuery] jQuery sessions (persisting data across pages)

2009-04-15 Thread gibble
Personally, I find the .data() function in jQuery very useful. I can keep my html clean, and just attach data to the elements. What I'm finding myself needing though, is a way to persist some data client side across pages. Unfortunately, it wasn't as simple as $(window).data('key', 'value')

[jQuery] Re: Assigning variable on click

2009-04-15 Thread Connor
Really? So then how would I assign the variable so it would work anywhere when a certain element is clicked? On Apr 15, 9:16 am, Josch jluelsd...@googlemail.com wrote: You initialize the variable within your function (var color). This means the variable works only within the function. You

[jQuery] Re: question about dealing with JSON callback

2009-04-15 Thread Scott Sauyet
sneaks wrote: i have tried to iterate through the JSON using the jQuery.each(): but it is iterating character by character rather than by each pair It looks like your JSON response is seen as a String. What jQuery call are you using to load it? -- Scptt

[jQuery] question about approaching an interactive image gallery

2009-04-15 Thread roryreiff
Hi there, I want to start developing a simple interactive image gallery for a home page. My goal is for it to behave similar to SlideViewer (http:// www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html) in it's functionality, except that instead of clicking on a

[jQuery] Re: Final Four: Grabbing Keys, Styling Columns, Pop Up Forms, Edit Select Lists?

2009-04-15 Thread briandus
HI Tony, now that you were able to show me how to make the (my) ID field readonly, it is now being sent to the server like this: id: (21,7) - Where 21 is my database key field and 7 is the row placement. I can work with this because I can just parse it. BUT, the delete method is still only

[jQuery] Re: Assigning variable on click

2009-04-15 Thread Connor
Nevermind. I realized that I just needed to assign a global variable instead. ie taking out the var. On Apr 15, 10:25 am, Connor con...@letsbeglobal.com wrote: Really? So then how would I assign the variable so it would work anywhere when a certain element is clicked? On Apr 15, 9:16 am,

[jQuery] Re: Creating custom attributes in html

2009-04-15 Thread Karl Swedberg
On Apr 14, 2009, at 6:34 PM, Ricardo wrote: If you insert these attributes server-side, the page will not validate and might trigger quirks mode in the browser. If you are adding them after load, there's no harm in it, but I bet using data() would be faster for lots of elements. I was

[jQuery] Re: IE problem with each function

2009-04-15 Thread Karl Swedberg
On Apr 14, 2009, at 10:47 PM, Zhx wrote: here is my code, it works fine in FF, but in IE, the index message did not popup. Anyone could give me a suggestion to figure out this? jQuery(#demoform dt).each(function(index,domEle){ if (jQuery(domEle).text() == ISSN:) {

[jQuery] Re: How to block control + plus/minus key?

2009-04-15 Thread Gordon
If you can find a reason why she doesn't want people to zoom I'd appreciate it. Other than having a personal vendetta against the visually-impaired I can't think of a single good reason. It's pretty much moot anyway as there's just no way to do it. In the bad old days of IE6 specifying font

[jQuery] Re: question about dealing with JSON callback

2009-04-15 Thread dhtml
On Apr 14, 9:34 pm, sneaks deroacheee...@gmail.com wrote: hi! i am trying to use jQuery.post() to send name/value to a php function which then retreives data from mysql and responds with JSON which looks like this when i append it directly to my debug output div: [...] i have tried to

[jQuery] Superfish - text aliased until fade-in completes

2009-04-15 Thread Dave Novelli
Hi all, I was wondering if anyone has run into a problem with the text in a superfish menu looking like crap until the animation is done, and then it correcting itself. It's not a problem in FF3 (not sure about FF2) and it's a problem in IE6, 7, and 8. Any ideas on where to start debugging this

[jQuery] alert wont fire from page to page

2009-04-15 Thread Bob O
I have a very simple piece of code. $(document).ready(function() { // var url = location.pathname; alert(url); }); When im on my home page it alerts the pathname like it should. but when i navigate to the next page the alert does not fire the firebug dom shows the new pathname..but the

[jQuery] Re: alert wont fire from page to page

2009-04-15 Thread Bob O
also in my code the line is not commented out... I accidentally pasted that in there.. On Apr 15, 10:45 am, Bob O sngndn...@gmail.com wrote: I have a very simple piece of code. $(document).ready(function() {   // var url = location.pathname;   alert(url); }); When im on my home page it

[jQuery] Re: Final Four: Grabbing Keys, Styling Columns, Pop Up Forms, Edit Select Lists?

2009-04-15 Thread briandus
Ok..had a brain cramp...I found the delete options..Alright! Still having trouble with the jqModal forms though...but, things are definitely moving forward and I'm excited. This is really an amazing plug in Tony. Thanks so much for your contributions and ALL the help! Briana On Apr 15, 9:02 

[jQuery] Re: Basic Selector expression only work on Chrome, no other browsers

2009-04-15 Thread Karl Swedberg
Maybe try a filter function: var filters = $('div').filter(function() { return this.style.filter; }).length; alert(filters); It won't work in FF because filter is IE-proprietary. Has nothing to do with jQuery. To test, try this: var divs = document.getElementsByTagName('div');

[jQuery] Re: alert wont fire from page to page

2009-04-15 Thread Bob O
nevermind...i found the problem. On Apr 15, 10:46 am, Bob O sngndn...@gmail.com wrote: also in my code the line is not commented out... I accidentally pasted that in there.. On Apr 15, 10:45 am, Bob O sngndn...@gmail.com wrote: I have a very simple piece of code.

[jQuery] Re: Check value when adding to array

2009-04-15 Thread mkmanning
$.map creates a new array based on the return value of the function, using the format newarray = $.map( array, function ); The array in the sample is the jQuery selector (which is array-like). The function iterates through the members of the array, with the index passed in as i and the member

[jQuery] Re: Creating custom attributes in html

2009-04-15 Thread JBeckton
I was using custom attributes, I just discovered that when using live () to bind events to HTML elements coming in via AJAX would mysteriously stop working. I searched around the bugs DB and found that it was the custom attributes I was using to select the elements to bind to that was causing

[jQuery] Re: $.get callback function fails - but only in IE

2009-04-15 Thread James
This is probably related to the issue in this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/036d49aead899d68 You can use the text2xml function at the bottom of the thread provided by Diego A. I don't remember the issue specifically, but I think the issue seems to be that

[jQuery] A little help needed with form processing and page redirects

2009-04-15 Thread poundcommapo...@gmail.com
Hi. I have what I feel like should be a simple problem, but I'm having a hard time sorting it out. The page is located here: http://staging.pixelluxe.com/tbs/ I apologize in advance that all the code is on one line - client request (also, the inline styles are their requirement). Anyway, this

[jQuery] Count how many checkboxes are checked

2009-04-15 Thread Dragon-Fly999
Hi, I'm new to JQuery and I have a question about checkboxes. I have 5 checkboxes on my page and they are passed into my plug-in. I'd like to find out how many of them are checked in my plug-in. The following code works but I'm sure there is a better way to do it (especially the part of the

[jQuery] Re: jQuery.autocomplete skipping GET calls...

2009-04-15 Thread James
Autocomplete does have a 'delay' option (in milliseconds) such that if you typed a character immediately after another character, and the time difference is less than the time set in 'delay', then your previous call will not be executed. In your case, you probably typed 'r' then 's' too quickly.

[jQuery] Re: Count how many checkboxes are checked

2009-04-15 Thread Erik Beeson
categoryList.is(':checked') will return false if none are checked, so you could do: heading.css('color', categoryList.is(':checked') ? 'red' : 'black'); --Erik On Wed, Apr 15, 2009 at 8:33 AM, Dragon-Fly999 dragon-fly...@hotmail.comwrote: Hi, I'm new to JQuery and I have a question about

[jQuery] Re: jQuery sessions (persisting data across pages)

2009-04-15 Thread James
There really is no such thing, since each HTTP request is generally stateless without any relations between each call. Without using cookies and through the URL (GET method), the other only common way is through the POST method. That would mean every page change requires some kind of form

[jQuery] passing elem id to a JS function...

2009-04-15 Thread kali
hi, am trying to do image-hide/img-show with jQuery (now use 'regular' JavaScript DOM-scripting.. want to switch to jQuery.. but am having some difficulties: I have this function-call in interface: get_img('photo1','nav1','navAll1','photo2','nav2','navAll2') in function -- old way:

[jQuery] grid layout plugin?

2009-04-15 Thread bobh
Hi, I've been on the lookout for a jquery plugin that fits divs together into a nicely fitting layout. For example: http://spacecollective.org/gallery/ more: http://www.corneer.se/nolegacy/?p=528 Does it exist?

[jQuery] Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-15 Thread tatlar
Hi there, I have a nicely formatted JSON file that looks like: { stations : { F07A : { calibration : 1212797922, construction : 1152736320, calibrationplot : 158922, service : [ 1186011098, 1209718352,

[jQuery] Re: Creating custom attributes in html

2009-04-15 Thread mkmanning
This is not quite to the point of discussing the merits per se, but still germane I think. RobG pointed out that you're using the name attribute in a div, which isn't valid. It's also not valid in a td, but obviously that only matters if validation is important to you (which is a totally separate

[jQuery] Re: passing elem id to a JS function...

2009-04-15 Thread mkmanning
var img_top = $(#+curr_img); On Apr 15, 8:57 am, kali maya778...@yahoo.com wrote: hi, am trying to do image-hide/img-show with jQuery (now use 'regular' JavaScript DOM-scripting..  want to switch to jQuery..  but am having some difficulties: I have this function-call in interface:  

[jQuery] Re: jQuery sessions (persisting data across pages)

2009-04-15 Thread gibble
That's what I figured, I think I'm going to work out a generic json/xml data store web service and write a jQuery plugin to access it. James-279 wrote: There really is no such thing, since each HTTP request is generally stateless without any relations between each call. Without using

[jQuery] Re: Code Slider problem

2009-04-15 Thread sato.ph...@gmail.com
Thank you very much. That fixed the problem On Apr 15, 5:26 am, Jonathan Vanherpe (T T NV) jonat...@tnt.be wrote: sato.ph...@gmail.com wrote: I am trying to implement the coda slider javascript as seen on the jqueryfordesigners page: http://jqueryfordesigners.com/coda-slider-effect/

[jQuery] Re: jQuery Form Validation

2009-04-15 Thread NobitaNobi79
Hi Jörn and others jquery forum readers, So, is there anything wrong with the script? It still doesn't work when email field is empty; fine with both validating the field when there is input. onblur=alert($(#field).valid()) gives me 0 when empty. $(document).ready(function(){

[jQuery] Re: jQuery sessions (persisting data across pages)

2009-04-15 Thread Eric Garside
Depending on the user's browser version, you could use some of the new client-side storage. I've got a plugin called jStore which was designed to do just this. Maybe it'll get you where you're going? http://eric.garside.name/docs.html?p=jstore On Apr 15, 3:10 pm, gibble gib...@gmail.com wrote:

[jQuery] Plugin does not bind to jQuery object

2009-04-15 Thread Thomas Allen
These two pages do the exact same thing: Apply some basic validation rules to a form. The only difference is that the first one includes the scripts in body, not head. 1. http://www.asce.org/freemembership/ 2. http://content.asce.org/conferences/texasstudentdays/company_registration.html The

[jQuery] selecting li - beginner learning jquery

2009-04-15 Thread soni2926
Hi, I'm trying to learn Jquery (reading Manning Jquery in Action) in the book there is this sample: ul class=myList li a href=http://jquery.com;jQuery supports/a ul li a href=css1CSS1/a

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-15 Thread Eric Garside
It's the order of your includes. In the first page, you're including the validation plugin before you're including jQuery. The result is that, when validation attempts to enter itself into the jQuery namespace, jQuery is undefined, so it just dies within it's enclosure. On Apr 15, 4:30 pm,

[jQuery] Re: selecting li - beginner learning jquery

2009-04-15 Thread Karl Swedberg
On Apr 15, 2009, at 4:31 PM, soni2926 wrote: Hi, I'm trying to learn Jquery (reading Manning Jquery in Action) in the book there is this sample: ul class=myList li a href=http://jquery.com;jQuery supports/a ul li

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-15 Thread Thomas Allen
No, that's not it. The scripts are ordered: script src=/lib/javascript/jquery-1.3.2.js type=text/javascript/ script script src=/lib/javascript/jquery.validate.min.js type=text/ javascript/script Which is why only one exception is thrown. If I flip the order of those two, two exceptions are

[jQuery] Re: Ajax request -- passing additional paramters to success method

2009-04-15 Thread Nic Hubbard
I am interested in this as well. How could I send a string to the success GotNewData function? On Feb 26, 9:50 am, P Burrows pburr...@gmail.com wrote: Is anyone aware of a way to pass some additional context information to the success function of an ajax request? For instance, here is my

[jQuery] Re: Help Me Optimize My First JQuery Script (Extinguish The Early Flames of Bad Practices)

2009-04-15 Thread Karl Swedberg
On Apr 15, 2009, at 6:50 AM, MorningZ wrote: I don't know if this falls under bad practice or not, but time and time again here on the group, people post code like yours where they use an a tag to do something that has nothing to do with an a tag If you don't want to go somewhere, why not

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-15 Thread mkmanning
You also have a reference to jQuery 1.2.6 as well as 1.3.2; near the bottom of the page: script type=text/javascript src=/lib/javascript/jquery-1.2.6.js/ script On Apr 15, 1:44 pm, Thomas Allen thomasmal...@gmail.com wrote: No, that's not it. The scripts are ordered: script

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-15 Thread Eric Garside
Upon further inspection, I'm not quite sure what to make of your page. Firebug's Net console reported the following includes in the following order: 1. jquery-1.3.2.js 2. jquery.validate.min.js 3. validate-common.js 4. asce03.js 5. validate.js 6. jquery-1.2.6.js 7. jquery-dropdown-menus.js So,

[jQuery] Re: Ajax request -- passing additional paramters to success method

2009-04-15 Thread Eric Garside
$.ajax({ type: GET, dataType: json, url: tUrl, success: function(data){ GotNewData(data, 'custom string'); }, error: GetDataError, complete: AjaxRequestComplete }); On Apr 15, 4:53 pm, Nic Hubbard nnhubb...@gmail.com wrote: I am interested in

[jQuery] Has anyone used these jQuery books?

2009-04-15 Thread Calvin
Hi everybody, Has anyone here read/ used these books: jQuery UI 1.6 by Dan Wellman jQuery Reference Guide by Chaffer Swedberg I am wondering which one is better for learning how to make front-end interfaces for applications. p.s- Learning jQuery 1.3 is a awesome book!

  1   2   >