[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Zeeshan Khan
Check this Link U'll knw the Problem that i'm talking about. http://aspspider.info/KhanZeeshan/ Check it IE6 & IE7 i chekced it in IE8,FF 3.0 Chorme & safari ti works gr8 in All browsers xcpt IE6 & IE7. On Thu, Apr 23, 2009 at 8:47 AM, Zeeshan Khan wrote: > i validated my html & Javascript as

[jQuery] Re: question about dealing with JSON callback

2009-04-22 Thread dhtml
On Apr 17, 10:55 am, mkmanning wrote: > >- the dataType is "JSON", not "json". > >(I pointed this out earlier in this thread) > > I noticed what sneaks did, I also noticed you had pointed it out, > which is why my comment was in direct reply to sneaks post about the > 'object side' and removing

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
Your inclusive use of the setInterval( ) function and Michael's suggestion with regard to this-and-that closue got me there. Great job! On Apr 22, 5:29 pm, James wrote: > Something like the below? > > (function($) { >                   $.fn.JSClock = function() { >                           set

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
No need for an example! I got it! Roddy On Apr 22, 10:05 pm, mkmanning wrote: > Here's my (working) example online for you to look at: > > http://actingthemaggot.com/test/jquery_example/clock.html > > HTH :) > > On Apr 22, 10:00 pm, kiusau wrote: > > > On Apr 22, 9:18 pm, Ricardo wrote: > > >

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 9:55 pm, mkmanning wrote: > With arguments.callee wouldn't you still lose the original 'this' ? > > Why not a closure, just set 'this' to 'that'. Also, you should return > the jQuery object: Yes, this works! Bravo! Proper use of the setInterval( ) function with this-and-that closure!

[jQuery] Lavalamp Trouble

2009-04-22 Thread MauiMan2
Can anybody find quicker than I can why it’s not working on my blog? http://ocmexfood.blogspot.com/ (the orange nav near the top) I’m pretty sure I have all the elements in correctly. Thanks.

[jQuery] Re: JSON datastore

2009-04-22 Thread Eric Garside
Check out the jStore plugin. It's designed to handle client-side storage on all modern browsers. http://code.google.com/p/jquery-jstore On Apr 22, 11:10 pm, shavin wrote: > Is there anything similar to dojo's datastore in jQuery? I wish to try > build an elementary kind of a single-page self-sav

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread mkmanning
Here's my (working) example online for you to look at: http://actingthemaggot.com/test/jquery_example/clock.html HTH :) On Apr 22, 10:00 pm, kiusau wrote: > On Apr 22, 9:18 pm, Ricardo wrote: > > > Just add setTimeout(arguments.callee, 1000); to the end of the JSClock > > function (after thi

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 9:18 pm, Ricardo wrote: > Just add setTimeout(arguments.callee, 1000); to the end of the JSClock > function (after this.html...). That way the function will repeat > itself over and over every second. Before I become too concerned about stopping my clock, I must first get it running.

[jQuery] ajaxForm not submitting in IE

2009-04-22 Thread iceangel89
i am using the ajaxForm plugin. in Firefox it works. in IE it does not. i used IE8... for its debugger and found out that its stuck at this line of code. .. i think in unlimited loop return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply (arguments.callee.elem,arguments):g some w

[jQuery] Re: Get all radiobutton in a span

2009-04-22 Thread mkmanning
If you want valid HTML, you can't put a span around a table (or any block level element). On Apr 22, 9:14 pm, Nitin Gautam wrote: > Thanks for both replies..it works now =) > > On Apr 22, 10:55 pm, Ignacio Cortorreal > wrote: > > > "#list_0 > input:radio"  will work if the radios are direct chi

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread mkmanning
With arguments.callee wouldn't you still lose the original 'this' ? Why not a closure, just set 'this' to 'that'. Also, you should return the jQuery object: (function($) { $.fn.JSClock2 = function() { var that = this; setInterval(function() {

[jQuery] Re: jQuery Ajax Error in Firefox 3.0.8

2009-04-22 Thread Geo..
I got the error on Error Stage that means the post is not working The problem is not in all servers for test purposes i just echo a hello world in ajax.php On Apr 22, 10:38 pm, Josh Powell wrote: > what does ajax.php return? > > at what stage is the error, beforesend, error, success, complete?  

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread Ricardo
Just add setTimeout(arguments.callee, 1000); to the end of the JSClock function (after this.html...). That way the function will repeat itself over and over every second. In case you need to stop it later you'll have to save a reference to the timeout: //at the end of JSClock function $.fn.JSClo

[jQuery] Re: Get all radiobutton in a span

2009-04-22 Thread Nitin Gautam
Thanks for both replies..it works now =) On Apr 22, 10:55 pm, Ignacio Cortorreal wrote: > "#list_0 > input:radio" will work if the radios are direct children of > "#list_0" > > remove the ">" symbol > > On Wed, Apr 22, 2009 at 1:47 PM, Nitin Gautam wrote: > > > > > HI, > > > I have following

[jQuery] Re: Some pseudo help if you'd be so kind?

2009-04-22 Thread Ricardo
No need for IDs, you can do it all using the elements' indexes: Assuming a structure like this: ... ... Next 3 Previous 3 I'd use this. A bit busy, but it's short! :) //hide all but the first 3 posts $posts = $('#posts li').show(); $posts.filter(':gt(2)').hide(); //set the navigation

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Zeeshan Khan
i validated my html & Javascript as well...but there was no error..i don't know any free asp.net web hosting site...if u know any please let me know i'll upload my site there..then u guys can check it thoroughly.. On Wed, Apr 22, 2009 at 6:02 PM, Jonathan Vanherpe (T & T NV) < jonat...@tnt.be> wr

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread followerofjesus
Thankyou very much Karl works perfect, (sorry copy and paste type two hrefs) On Apr 23, 1:34 pm, Karl Swedberg wrote: > Hi Josh, > > Probably came up empty because you have two hrefs in that link -- one   > with an empty hash and the other with no hash at all. > > > Show > > Let's say you wanted

[jQuery] Re: load an aspx page (or ascx) in a div

2009-04-22 Thread Zeeshan Khan
did u try this? *$(#"div_Id").load('page1.aspx');* On Wed, Apr 22, 2009 at 10:45 PM, MorningZ wrote: > > This has worked for me in the past: > > > http://weblogs.asp.net/scottgu/archive/2006/10/22/Tip_2F00_Trick_3A00_-Cool-UI-Templating-Technique-to-use-with-ASP.NET-AJAX-for-non_2D00_UpdatePan

[jQuery] Re: Something is not working in IE7

2009-04-22 Thread brian
Try SHIFT-refresh. Your select element is being cached. You might want to add some headers for that. http://greenash.net.au/posts/thoughts/an-ie-ajax-gotcha-page-caching and, fwiw ... http://support.microsoft.com/kb/234067 On Wed, Apr 22, 2009 at 11:26 PM, iceangel89 wrote: > > anyone? > > On

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 7:49 pm, kiusau wrote: > In and of themselves the above and the following both fail. My guess > is that this.html() object is not a proper reference. Firebug says that this.html() is not a function. This also makes sense -- well, at least to me -- as html() is a jQuery method -- not

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread Karl Swedberg
Hi Josh, Probably came up empty because you have two hrefs in that link -- one with an empty hash and the other with no hash at all. Show Let's say you wanted to grab the content for just a div with id="frag". Your link would look like this: Show --Karl Karl Sw

[jQuery] Re: Something is not working in IE7

2009-04-22 Thread iceangel89
anyone? On Apr 9, 11:15 pm, iceangel89 wrote: > i seem to have some funny behavior in IE7 ... > > basically i have can add a option to a select elem with a ajaxForm > -http://malsup.com/jquery/form/. then once added, i will repopulate the > select from db. > > in Firefox all works fine... in IE

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread followerofjesus
Thankyou Karl and Geert, I tried $(document).ready(function() { $('a#nav').cluetip({ ajaxProcess: function(data) { $div = $('' + data + '').find(this.hash); return $div; } }); }); html Show Corresponding temp.html had a couple of divs in it, one with an id of tempone The Tip came up, but it

[jQuery] Re: SlideToggle Callback Help

2009-04-22 Thread Chris
On Apr 22, 9:15 pm, Shane Riley wrote: > So what you're trying to do is ensure that the slideToggle is done > animating before you add/remove a class? If so, you'd do something > like this: > > $('.open-post-info').click(function() { >                 var id = $(this).attr('id'); >            

[jQuery] JSON datastore

2009-04-22 Thread shavin
Is there anything similar to dojo's datastore in jQuery? I wish to try build an elementary kind of a single-page self-saving client-side javascript application similar to Tiddlywiki based around a database of student's records. Although I don't hope to make it as sophisticated as Tiddlywiki! I wis

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 5:29 pm, James wrote: > Something like the below? > > (function($) { >                   $.fn.JSClock = function() { >                           setInterval(function() { >                                // code to get and write time here >                           }, 1000); >        

[jQuery] Re: form.action equivalent in jQuery

2009-04-22 Thread Shane Riley
You should also ensure that the form submits whether or not the UA has Javascript enabled. I'd make sure the form action is populated unless the URL where the form is located can handle the form processing (ie submitting to itself) or ensure that there is a PHP file capable of processing the reque

[jQuery] Re: 1.3.2 td class selector only picks the first td

2009-04-22 Thread Shane Riley
There's definitely nothing wrong with the JQuery. Can you post a test case so that we can see all of the pieces to the puzzle? On Apr 22, 7:07 pm, "Richard D. Worth" wrote: > Your code looks fine, and I wasn't able to reproduce what you're describing: > > http://jsbin.com/ucaqi > > - Richard > >

[jQuery] Re: SlideToggle Callback Help

2009-04-22 Thread Shane Riley
So what you're trying to do is ensure that the slideToggle is done animating before you add/remove a class? If so, you'd do something like this: $('.open-post-info').click(function() { var id = $(this).attr('id'); $('.post-info-' + id).slideToggle("medium", functio

[jQuery] Re: Alternate $.load

2009-04-22 Thread Shane Riley
Typically you'd only echo the data back that you want instead of having to weed through a string of HTML data to extract what you need. >From what it looks like, you're needing a specific element from another page while still being able to access the other page (temp.php) in its entirety. The easi

[jQuery] SlideToggle Callback Help

2009-04-22 Thread Chris
I have this simple slide toggle. $('.open-post-info').click(function() { var id = $(this).attr('id'); $('.post-info-' + id).slideToggle("medium"); return false; }); What I want is when I run the function that after it runs to add CSS class and whe

[jQuery] Re: jQuery + Firefox - Potential bug with hover event?

2009-04-22 Thread Dave Methvin
Happens here as well. Does it happen with bare DOM functions too?

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread James
Something like the below? (function($) { $.fn.JSClock = function() { setInterval(function() { // code to get and write time here }, 1000); } })(jQuery); $(document).ready(func

[jQuery] Get specific content (from div, p) from $.ajax

2009-04-22 Thread Colonel
How I can get content from remote file by $.ajax? For example I have some file temp.php: Test file id =" . $id . ""; echo "number = " . $number . ""; ?> Some text in div header - Some text in header2 - and Am using $.ajax: $.ajax({url: 'temp.php', data: "ID=1&NUMBER

[jQuery] Re: Alternate $.load

2009-04-22 Thread Colonel
I know it. But how I can get content from remote file by $.ajax? For example I have some file temp.php: Test file Some text in div header id =" . $id . ""; echo "number = " . $number . ""; ?> Some text in header2 ... and Am using $.ajax: $.ajax({url: 'temp.php', cache:

[jQuery] Re: Check $.load ajax request is complete

2009-04-22 Thread Colonel
I know it. But how I can get content from remote file by $.ajax? For example I have some file temp.php: Test file Some text in div header id =" . $id . ""; echo "number = " . $number . ""; ?> Some text in header2 ... and Am using $.ajax: $.ajax({url: 'temp.php', cache:

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 4:50 pm, Joseph Le Brech wrote: > cant you change your anonymous function for a seperate named function that > takes in the html element name funcclock(elem, interval). > > the fn command can run it once funcclock($(this)); > > the function can then rerun itself with setTimeout("funcn

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread MorningZ
"In the example provided on the page I was viewing, $("a").filter(".clickme").click(function(){ alert("You are now leaving the site."); }).end() can you describe what .end() is doing?" .end() is doing absolutely nothing but at that point you are back to the collection of 's in the chain

[jQuery] Re: finding mouse position within a div with a scrollbar

2009-04-22 Thread Charlie Park
We ended up using scrollTop to determine the amount of the div that was obscured. I'm new to jQuery (and javascript in general), so my code could probably stand to be refactored a bit. But here's the solution we came up with. The relevant structure of the page is: ... (this runs horizontally,

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 4:40 pm, James wrote: > setInterval should be the solution. How does your implementation with > it look like? As I wrote, I have tried several. The underlying problem appears to be how to call the jQuery method that I have created from within the setInterval( ) function. These do no

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread Joseph Le Brech
cant you change your anonymous function for a seperate named function that takes in the html element name funcclock(elem, interval). the fn command can run it once funcclock($(this)); the function can then rerun itself with setTimeout("funcname", interval); > Date: Wed, 22 Apr 2009 16:40:35 -0

[jQuery] Re: Some pseudo help if you'd be so kind?

2009-04-22 Thread kiusau
On Apr 22, 3:00 pm, ldexterldesign wrote: > I really wanna be able to understand that regex - any hints? Looks > interesting! I do not know how to make use of regular expression within the context of JQuery, as I am still quite new to the jQuery environment. JQuery methods and Javascript functi

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread James
setInterval should be the solution. How does your implementation with it look like? On Apr 22, 1:23 pm, kiusau wrote: > QUESTION:  How do I get a function to repeat itself an unspecified > number of times? > > BACKGROUND:  I have created a digital clock with which I very > satisfied except for o

[jQuery] Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
QUESTION: How do I get a function to repeat itself an unspecified number of times? BACKGROUND: I have created a digital clock with which I very satisfied except for one shortcoming: it displays only once and stops ticking. The only way to keep track of the time is to refresh the page. I have

[jQuery] Re: 1.3.2 td class selector only picks the first td

2009-04-22 Thread Richard D. Worth
Your code looks fine, and I wasn't able to reproduce what you're describing: http://jsbin.com/ucaqi - Richard On Wed, Apr 22, 2009 at 6:18 PM, kape wrote: > > The following code worked fine in 1.2.6 but after upgrading to 1.3.2 > only the first table cell is shown/hidden. > > > >a >

[jQuery] Re: Theming tabs

2009-04-22 Thread Richard D. Worth
On Wed, Apr 22, 2009 at 4:19 PM, Tobiah wrote: > > I would like to tweak the look of my tabs. I looked at the theme roller, > but I don't think I understand it. I have to download and unzip an > archive, > then install the theme somewhere in my app, every time I want to see how > the > app look

[jQuery] Re: Check $.load ajax request is complete

2009-04-22 Thread James
I suggest using the $.ajax() function instead of $.load() as it'll provide you more options, including success, error and complete (after success and error callbacks are executed) http://docs.jquery.com/Ajax/jQuery.ajax#options On Apr 22, 11:49 am, Colonel wrote: > Is the there way to check aja

[jQuery] Re: XML parsing

2009-04-22 Thread James
How about: var state = $("state:first",kj).text(); On Apr 22, 11:46 am, cindy wrote: > Following is my XML file: > > F > > T > > > > I want to get the first state out, which is F. > > I use >  var state = $("state",kj).text(); > > I got FT back. How can I get only F back? > > Thanks! > >

[jQuery] 1.3.2 td class selector only picks the first td

2009-04-22 Thread kape
The following code worked fine in 1.2.6 but after upgrading to 1.3.2 only the first table cell is shown/hidden. a b c d more ... jQuery('#moreLess').click(function() { if(jQuery(this).text() == 'more') { jQuery(this).text('less'); jQuery('.more').show(); } el

[jQuery] Re: Some pseudo help if you'd be so kind?

2009-04-22 Thread ldexterldesign
Hey Stephen, Gonna have a good look at how you've done that now. Thanks ever so much for the quick reply! L On Apr 22, 4:09 pm, MorningZ wrote: > How's this for a quick mockup i made for you > > http://stuff.morningz.com/public/Coding/jQuery/show_more.htm > > On Apr 22, 10:18 am, ldexterldesig

[jQuery] Background color is being applied when using Cycle plugin

2009-04-22 Thread Shane Riley
I've been using Mike Alsup's Cycle plugin on a large number of projects, and one of the most recent ones is giving me trouble in IE. In this example, the slide container seems to have a background color applied to it, and there is neither a background property added to it nor is there any backgrou

[jQuery] Re: Some pseudo help if you'd be so kind?

2009-04-22 Thread ldexterldesign
Hey Tom, I really wanna be able to understand that regex - any hints? Looks interesting! Thanks, L On Apr 22, 4:12 pm, Tom Worster wrote: > On 4/22/09 10:18 AM, "ldexterldesign" wrote: > > > > > > > Hey guys, > > > I have 10 separate posts displayed on a page. I want to hide 7 (of the > > old

[jQuery] Re: Alternate $.load

2009-04-22 Thread Shane Riley
You can use a number of Ajax functions built in to JQuery depending on your specific needs. Check them out at http://docs.jquery.com/Ajax. If all you're looking to do is insert one file into another, load is normally the way to go, unless you're looking to place the loaded file before, after, or i

[jQuery] Alternate $.load

2009-04-22 Thread Colonel
Is there another way load HTML from a remote file and inject it into the DOM (instead of $.load)?

[jQuery] Check $.load ajax request is complete

2009-04-22 Thread Colonel
Is the there way to check ajax request is complete for success? On page: http://docs.jquery.com/Ajax/load#urldatacallback about callback (Optional): The function called when the ajax request is complete (not necessarily success).

[jQuery] XML parsing

2009-04-22 Thread cindy
Following is my XML file: F T I want to get the first state out, which is F. I use var state = $("state",kj).text(); I got FT back. How can I get only F back? Thanks! Cindy

[jQuery] Dynamic Accordion???

2009-04-22 Thread C2theG
Hello, I'm a kinda a n00b when it comes to javascript and jquery, (im a php guy). This is what im trying to do: I am loading points on a google map, from a mysql database. For each point, i want to have a header on an Accordion header. When you click a header, it will drop down the accordion, a

[jQuery] Theming tabs

2009-04-22 Thread Tobiah
I would like to tweak the look of my tabs. I looked at the theme roller, but I don't think I understand it. I have to download and unzip an archive, then install the theme somewhere in my app, every time I want to see how the app looks in my page? There must be a better way. I just want to cha

[jQuery] Re: Cross server check if a pdf file exists

2009-04-22 Thread Eric Garside
If you have access to PHP, I'd just throw up a script on your local server to request the headers of files on any server, and then just call that from your own domain using regular ajax calls, instead of jsonp. Jsonp doesn't actually make an ajax call, it includes a javascript file on the page, wh

[jQuery] Re: Cross server check if a pdf file exists

2009-04-22 Thread Pete
it's a regular url (www.somesite.com/somepdf.pdf) and it seems to be adding that '?jsonp_callback=?' with the code i have above. I'm trying to do it without server-side script. Has anyone tried this? On Apr 22, 4:49 pm, James wrote: > Oh, and to answer your question, I think when your results

[jQuery] Re: jQuery countdown with simple percentage bar display?

2009-04-22 Thread Andy Matthews
Thanks Eric. That looks like just what I need, the timer version. andy -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Eric Garside Sent: Wednesday, April 22, 2009 3:56 PM To: jQuery (English) Subject: [jQuery] Re: jQuery countdown w

[jQuery] Re: Modifying jQuery to decrease file size.

2009-04-22 Thread Eric Garside
If you're really that concerned about transfers from your own server, you could always just use google's Ajax APIs and include it dynamically from google's servers rather than your own. http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js On Apr 22, 4:10 pm, Ricardo wrote: > You can

[jQuery] Re: jQuery countdown with simple percentage bar display?

2009-04-22 Thread Eric Garside
I've got a clock plugin which can do countdown timers, called epiClock. http://code.google.com/p/epiclock With a pretty simple rendering function (covered in the docs here: http://eric.garside.name/docs.html?p=epiclock ), you should be able to hook it into a progress bar, or merely display a coun

[jQuery] Re: Cross server check if a pdf file exists

2009-04-22 Thread James
Oh, and to answer your question, I think when your results are not in the format specified for jsonp, regardless of whether the file exists or not it will still go to the error callback. By the way, what is the 'url' that you're using? Are you adding the '? callback=?' I've never tried this out, b

[jQuery] Re: Cross server check if a pdf file exists

2009-04-22 Thread James
I personally suggest, instead, you set up a server-side script on your own server that checks the remote file for you. Then you can use AJAX to call that script to get the results. On Apr 22, 10:30 am, switch13 wrote: > I'm trying to see if a pdf file exists in a directory on another > server. I

[jQuery] jQuery + Firefox - Potential bug with hover event?

2009-04-22 Thread temega
I came across this at work using jQuery 1.2.4 and now replicated it at home with jQuery 1.3.2. Instructions and example here: http://www.temega.co.uk/dump/4pqjql.html

[jQuery] Cross server check if a pdf file exists

2009-04-22 Thread switch13
I'm trying to see if a pdf file exists in a directory on another server. If it does, do one thing, if not do another. Here's what I tried: $.ajax({ url: url, type: 'GET', dataType: 'jsonp',

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread Ricardo
In the docs example end() is not doing anything useful, it's just showing where end() fits. I use it to avoid repeating selectors: $('#myform') .find('input') .click(fn..).end() .find('textarea') .mouseover(fn...).end() .find('label') .css('color', 'red'); Limiting the

[jQuery] Re: jQuery countdown with simple percentage bar display?

2009-04-22 Thread Richard D. Worth
You may consider using jQuery UI Progressbar as a base: http://jqueryui.com/demos/progressbar/ You could handle the change event and inspect the value, to see which class to add for changing the color: http://docs.jquery.com/UI/Progressbar#event-change - Richard On Wed, Apr 22, 2009 at 2:35 PM

[jQuery] Re: Nice lightbox variant?

2009-04-22 Thread Ricardo
http://blog.insicdesigns.com/2009/01/10-promising-jquery-lighbox-plugin/ On Apr 22, 9:10 am, Snef wrote: > hi, > > I want to use a lightbox (clone) for showing forms (like login, > register etc.). > > I looked at Lightbox and Simplemodal. Are there any other suggestions? > > Snef.

[jQuery] Re: $("#field") is null

2009-04-22 Thread Ricardo
Change $(function(){ //code }); to jQuery(function($){ //code }); to avoid conflicts with the '$' variable, assuming the jquery file is being loaded correctly. Are you using other libraries in the same page? If not, you probably got the wrong src path for the script. - ricardo On Apr 22, 9

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread JKippes
MorningZ and Ignacio, Thanks so much for the examples. Both helped me understand .end() better. I have a couple additional questions to solidfy my understanding. Is this example, $("div").find("span").css('background':'red').end().css ('background':'green­'); mainly where you see .end() bei

[jQuery] Re: delaying an action

2009-04-22 Thread geocalleo
Hi Brian and everyone else for the suggestions. I ended up using your hoverIntent plugin. worked like a charm. thanks a bunch everyone. On Apr 21, 3:21 pm, Brian Cherne wrote: > The hoverIntent plugin was meant just for this purpose. There's an initial > delay (unavoidable) but if the user's m

[jQuery] Re: Modifying jQuery to decrease file size.

2009-04-22 Thread Ricardo
You can get the modules from the SVN and glue them together right away, every file uses jQuery.fn.extend. It's gonna be tough keeping track of dependencies though. http://jqueryjs.googlecode.com/svn/trunk/jquery/src/ jQuery is only 18kb when gzipped, I guess you won't be able to cut that down to

[jQuery] Re: Bug? Jquery 1.3.2 -> $.ajax + Firefor 3.0.8

2009-04-22 Thread Daniel
Happens all the time. Could you give an example of the data array being sent, and how? On Apr 22, 2:23 pm, Mario Soto wrote: > Thanks for the "tipe", was my bug on the post :( . But, I'm sending a > php array data. This data is not properly sended or discarded. Any > idea to know what and how t

[jQuery] jqGrid, rowedit, php posts names instead of values to the db

2009-04-22 Thread Natkeeran L.K.
Hello: I need to dynamically edit and change the server data. http://pssnet.com/~devone/ajqtable/editgrid2.html Right now, when the fields get edited php posts names instead of values to the db. My assumption is that on submit, the editurl will be called upon with the changed data. I read in

[jQuery] Re: Bug? Jquery 1.3.2 -> $.ajax + Firefor 3.0.8

2009-04-22 Thread Mario Soto
Thanks for the "tipe", was my bug on the post :( . But, I'm sending a php array data. This data is not properly sended or discarded. Any idea to know what and how this happens? or how to find. On Apr 22, 5:49 am, donb wrote: > Sounds more like the data type expected IS 'json' but the data coming

[jQuery] Re: Trying to highlight single error in two locations.

2009-04-22 Thread James
Is this regarding the usage of the Validation plug-in? On Apr 22, 8:56 am, Tony wrote: > I want my error to appear as it is, but I also want to add a class the > the form element is in. > > I can do this via : > errorPlacement: function(error, element){ >     element.parents('li').addClass('err

[jQuery] Re: changing list image on click

2009-04-22 Thread mstone42
OK, after a bit more effort I solved my own problem. ul#buttons li { list-style-image: url(../images/bullet.png); } ul#buttons li.checked { list-style-image: url(../images/bullet_check.png); }

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread Ignacio Cortorreal
if you do something like: $("div").find("span").css('background':'red').end().css('background':'green'); spans will be red, and the divs will be green. .end() reset the chain to the first selector On Wed, Apr 22, 2009 at 2:05 PM, MorningZ wrote: > > Say you have the html of > > >One

[jQuery] Passing variables to an external jQuery function

2009-04-22 Thread kingrichard2005
Hello, I've been scouring the internet trying to find a way to do this with jQuery. My situation is this, I have a tablesorter function (using the jQuery plugin tablesorter) in an external scripts.js file as follows: $(function() { $(aTable).tablesorter({

[jQuery] Re: Get all radiobutton in a span

2009-04-22 Thread Ignacio Cortorreal
"#list_0 > input:radio" will work if the radios are direct children of "#list_0" remove the ">" symbol On Wed, Apr 22, 2009 at 1:47 PM, Nitin Gautam wrote: > > HI, > > I have following html code. Using jQuery how to get all the > radiobuttons inside span id 'list_0' > > as i tried > > var

[jQuery] changing list image on click

2009-04-22 Thread mstone42
I have a list of links on a page that do some javascript functions. I want to be able to swap out the bullet image on the list element whenever the link is clicked. Refreshing the page would, of course rest the images, which is fine. Here's the list title 1 title 2 title 3 title 4

[jQuery] [validate] Trying to highlight single error in two locations.

2009-04-22 Thread Tony
I want my error to appear as it is, but I also want to add a class the the form element is in. I can do this via : errorPlacement: function(error, element){ element.parents('li').addClass('error'); }, but I can't figure out how to make the class go away when the error is cleared. (basi

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread Karl Swedberg
Thanks for that suggestion, Geert! Josh, Geert's solution will work, but if you use the latest version of clueTip from Github ( https://github.com/kswedberg/jquery-cluetip/tree/master ), it's a lot simpler. To target the id in the called page that matches the hash of the link's href, you

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread Andy Matthews
Ahhh...thank you for correcting me. I misunderstood the method then. I was under the impression that it returned the original. Thanks. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Wednesday, April 22, 2009 1:49 PM T

[jQuery] Re: Validation plugin - Using with 'button' buttons?

2009-04-22 Thread Brad
In the button's click handler: if ($("#myform").validate().form()) { // submit form } On Apr 22, 9:48 am, Brad wrote: > To be more specific, validation is working prior to clicking the > button. For example I have a date field in the form

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread MorningZ
"Essentially the end method returns the result of the very first selector. " Not an accurate statement if you say var $obj = $("div").find("span").find("img"); and do $obj.end(); that would be a selection of tags, *not* the first selector of just the tag Right from the docs "Revert the m

[jQuery] Re: Assigning a List of Key-Value Pairs to a Tag

2009-04-22 Thread kiusau
On Apr 22, 4:29 am, George Adamson wrote: > You may also like to try using jQuery's.each method. Something like: > var flowerColor = {rose: "red", tulip: "pink", daffodil: "yellow"}; > $.each(flowerColor, function(flower,color){ >   this.append("Flower name and color: " + flower + ":" + color +

[jQuery] Re: Jqgrid, row edit, posting to the server not working

2009-04-22 Thread Natkeeran L.K.
It loads the field names instead of values into the db Regards, Nat On Apr 22, 2:26 pm, "Natkeeran L.K." wrote: > Actually, it does not load it the db > > http://pssnet.com/~devone/ajqtable/editgrid2.html > > include("dbc.php"); > $var1 = $_POST['service_id']; > $var2 = $_POST['name'];

[jQuery] Re: Assigning a List of Key-Value Pairs to a Tag

2009-04-22 Thread kiusau
On Apr 21, 10:58 pm, Jake wrote: > document.write() means writes to the root of the DOM, aka. the > `document'. it is a JavaScript built in Object.http://www.comptechdoc.org/independent/web/cgi/javamanual/ javadocumen... Thank you for the additional reference. I usually depend on W3Schools to g

[jQuery] Re: "Hash-aware" script?

2009-04-22 Thread Micky Hulse
That worked great Jordon! Thank you!!! Now I just need to figure out how to toggle the hash based on the click handler. :) Have a great day! Cheers, Micky

[jQuery] Re: Assigning a List of Key-Value Pairs to a Tag

2009-04-22 Thread kiusau
On Apr 21, 10:24 pm, mkmanning wrote: > .html() overwrites the innerhtml for that element. Try .append(). Changing the statement this.html( ); to this.append( ); fixed the problem and produced the result for which I was looking. Many thanks. Roddy

[jQuery] Re: Jqgrid, row edit, posting to the server not working

2009-04-22 Thread Natkeeran L.K.
Actually, it does not load it the db http://pssnet.com/~devone/ajqtable/editgrid2.html include("dbc.php"); $var1 = $_POST['service_id']; $var2 = $_POST['name']; //$var1 = "abc"; //$var2 = "xyz"; mysql_query("INSERT INTO testwrite (service_id, name) VALUES('$var1', '$var2') ") or die(mysql_

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread Andy Matthews
Essentially the end method returns the result of the very first selector. Andy matthews -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Wednesday, April 22, 2009 1:06 PM To: jQuery (English) Subject: [jQuery] Re: Can yo

[jQuery] Re: Jqgrid, row edit, posting to the server not working

2009-04-22 Thread Natkeeran L.K.
Hello Tony: Thanks for reply. Loaded those to the header: http://pssnet.com/~devone/ajqtable/editgrid2.html When clicked over it,the form automatically closes it. Regards, Nat On Apr 22, 1:43 pm, Tony wrote: > Hello, > FireFox console reported a error: jQuery(a).jqDrag is not a function > Th

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread MorningZ
Say you have the html of One Two Three and say: var $obj = $("div"); your jQuery object, $obj, will be just the tag Now if you say var $obj = $("div").find("span"); that would first be an object representing the and the ".find()" makes it be an object of the 3 tags If the s

[jQuery] Re: Get all radiobutton in a span

2009-04-22 Thread James
Try: var kk = $("#list_0 input:radio"); or: var kk = $("#list_0").find("input:radio"); or you can just give all radio buttons a same classname and reference it by that. On Apr 22, 7:47 am, Nitin Gautam wrote: > HI, > > I have following html code. Using jQuery how to get all the > radiobuttons

[jQuery] Re: simile timeline using jQuery

2009-04-22 Thread Rey Bango
Also check out this: http://www.simile-widgets.org/ Rey... Lakshmi Ramesh wrote: Hi, I have to use simile timeline using jQuery. Please help. Very urgent!!

  1   2   >