[jQuery] How do i populate two dropdown menus?

2010-02-17 Thread 123gotoandplay
Hi How do i populate dropdown menuB depending on the selected option in dropdown menuA??? I am parsing the menu data from a mysql db with php??

[jQuery] How do i get this mega dropdown with jQuery??

2010-01-06 Thread 123gotoandplay
Hi all, I am trying to get this mega dropdown menu: see textielmuseum.nl/ So far i have: bldd.nl/prototypes/megamenu/test2.html But i can´t get the hoverIntent to work? here´s my try W.I.P bldd.nl/prototypes/megamenu/test4.html Any tips, ideas how i to get my mega dropdown to work on hover and

[jQuery] How do I extract this value?

2010-01-02 Thread laredotorn...@zipmail.com
Hi, I am using JQuery 1.3. I have this basic structure in my HTML ... li id=myid ... a class=edit href=javascript:edit(1234) ... /a ... /li How do I extract the 1234 from HTML assuming I know the id of the li element? Thanks, - Dave ps - I know its bad practice to have the javascript

[jQuery] How do I allow not add width to the li tag with jQuery Cycle Plugin

2009-12-21 Thread Lijn
I use this jquery-plugin: http://jquery.malsup.com/cycle/ Each li-tag gets a calculated width allowing the contents to 2 lines, but line 1 is sufficient. 2 lines breaks the design. The added width is not necessary. Is it possible NOT to add to this? Can anyone help me? It would be a great relief!

[jQuery] How do i navigate within an ajax div??

2009-12-21 Thread 123gotoandplay
Hi, i use this $(#products).click(function() { $(#content).css(overflow-y, scroll); $(#content).load(list.php); }); and i have a loop of 10 products in list.php with a pagination. but how can i use the pagination as it doesn't stay in div #content??

[jQuery] How do I select all elements whose id's begin with ... ?

2009-12-15 Thread laredotorn...@zipmail.com
Hi, I'm using JQuery 1.3. How do I write an expression to select all elements whose id's begin with DatePref? These are all input type=text elements if that matters. Thanks, - Dave

Re: [jQuery] How do I select all elements whose id's begin with ... ?

2009-12-15 Thread Charlie Griefer
$('input[id^=DatePref]') On Tue, Dec 15, 2009 at 8:10 AM, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote: Hi, I'm using JQuery 1.3. How do I write an expression to select all elements whose id's begin with DatePref? These are all input type=text elements if that matters.

[jQuery] How do I unbind all onclick events from a button?

2009-12-15 Thread laredotorn...@zipmail.com
Hi, I'm using JQuery 1.3. I have a button and I want to completely clear it of any onclick events associated with it so that clicking it will do absolutely nothing. If I know the ID of the button, how do I do this? Thanks, - Dave

[jQuery] How do I write an express to access all radio button elements?

2009-12-09 Thread laredotorn...@zipmail.com
Hi, I'm trying to access all radio button elements with this expression .. var expr = $(element[type='radio']); but the experts among you know this isn't correct. What is the correct expression? Thanks, - Dave

Re: [jQuery] How do I write an express to access all radio button elements?

2009-12-09 Thread Dhruva Sagar
$('input[type=radio]') Thanks Regards, Dhruva Sagar. On Wed, Dec 9, 2009 at 9:03 PM, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote: Hi, I'm trying to access all radio button elements with this expression .. var expr = $(element[type='radio']); but the experts among you

Re: [jQuery] How do I write an express to access all radio button elements?

2009-12-09 Thread Richard D. Worth
$(':radio') http://docs.jquery.com/Selectors/radio - Richard On Wed, Dec 9, 2009 at 10:41 AM, Dhruva Sagar dhruva.sa...@gmail.comwrote: $('input[type=radio]') Thanks Regards, Dhruva Sagar. On Wed, Dec 9, 2009 at 9:03 PM, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote:

[jQuery] How do I trigger an event when a user presses a key within a text field?

2009-12-05 Thread laredotorn...@zipmail.com
Hi, What is the event that I trigger if a user enters (or deletes) a character within a textfield with id = username? Thanks, - Dave

Re: [jQuery] How do I trigger an event when a user presses a key within a text field?

2009-12-05 Thread Charlie Griefer
On Sat, Dec 5, 2009 at 1:16 PM, laredotorn...@zipmail.com laredotorn...@gmail.com wrote: Hi, What is the event that I trigger if a user enters (or deletes) a character within a textfield with id = username? Thanks, - Dave Bet you can find it in here: http://docs.jquery.com/Events --

Re: [jQuery] how do i prevent having a paragraph tag for the text AFTER i expand?

2009-11-09 Thread Karl Swedberg
it would be helpful to see a page with the html output rather than your php variables. Also, try using a span rather than a div for the expandText. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 5, 2009, at 6:04 AM, Kei Simone wrote: Hi i noticed

[jQuery] how do i prevent having a paragraph tag for the text AFTER i expand?

2009-11-05 Thread Kei Simone
Hi i noticed that whenever i expanded the text, the subsequent text expanded. and the expand prefix... also tends to be on the next line. Please advise. This is my expand code. $(document).ready(function() { // override some default options $('div.expandable div').expander({

[jQuery] How do i reset the form feilds in an iframe in my page

2009-11-01 Thread Boggie Man
Hi everybody, i have one page called console.php ,now in that page i have an iframe with id = 'well_frame' how do i reset the feilds in the form that is in that iframe from console.php.

[jQuery] How do I stop my div from sliding?

2009-09-29 Thread jpearson311
Hi all. JQuery noob here. I'm building a site right now that has a left column navigation and the navigation is nested inside a div, which is nested inside a table cell (i.e., td). I'm using JQuery to make it so when the user scrolls down the page, the div slides down with smoothly and always

[jQuery] How do you make text selectable when using IE browser?

2009-09-18 Thread amtames
Hi, We recently had our site redeveloped by a professional firm. We originally requested that users not be able to copy and paste text from our site. This has created an outcry and we would like to have text be selectable. I see that they achieved this by using jquery which I am not familiar. I

[jQuery] How do I extract a part of received data

2009-09-17 Thread Frederik
I explain... I try to load only a part of my data file (named Elements.html). It will load all the data file with var elem = $('#section_news', data); I am unable to load only a section of this file if I use var elem = $('#section_news', data); Could you please help me find out what part

[jQuery] How do I extract a part of received data

2009-09-17 Thread Frederik
I explain... I try to load only a part of my data file (named Elements.html). It will load all the data file with var elem = $(data); I am unable to load only a section of this file if I use var elem = $('#section_news', data); Could you please help me find out what part of my code is

[jQuery] How do I extract a part of received data

2009-09-17 Thread Frederik
I explain... I try to load only a part of my data file (named Elements.html). It will load all the data file with var elem = $('#section_news', data); Here is my code $.get(Elements.html, function(data){ // get id section_news for the receive data var elem = $('#section_news', data);

[jQuery] How do I prevent the newly entered text in the text input from disappearing upon focus?

2009-09-03 Thread Rick Faircloth
I posted this yesterday, but didn't see my original in my email, so didn't know if it never made it, or if it was perhaps just not answered.but I thought I'd post it again so if anyone has any ideas. Rick

[jQuery] How do I prevent the newly entered text in the text input from disappearing upon focus?

2009-09-02 Thread Rick Faircloth
In code prior to this, if an empty text input is found in a form upon submission, the text Entry required. is put into the text input. Once all the text inputs have been validated, then the function below is run: function validation() {

[jQuery] How do I load an external http xml request with jquery?

2009-08-18 Thread desbest
How do I load an external http xml request with jquery? Below is a url when pasted into a web browser like firefox, an xml document is shown. This is for the CPanel XML API.

[jQuery] how do I hide an element after my function completes

2009-08-16 Thread Rich Sturim
I have a hidden spinner div. When my jquery function is called -- I show the spinner. But, how do hide I the spinner div after the ajax request has completed? $(function() { $(.pagination a).live(click, function() { var loader = $('#loader') loader.show() // -- hidden

[jQuery] how do you add your site to the sites using jQuery list?

2009-08-16 Thread webster.net
when going to the 'edit' link on http://docs.jquery.com/Sites_Using_jQuery_UI it says it's locked from editing. Is there any way to add another site to that list of successful jQuery sites?

[jQuery] How do I compare two form fields using the form validation plugin?

2009-08-12 Thread Matt Wilson
I have a form with two radio button lists. Each list has the same set of choices. I want to make sure that something is checked in both lists and that the value in the first list is not the value in the second list. I know I could write my own submit handler to do this, but I'd like to work

[jQuery] How do I make sub-navigation links?

2009-08-03 Thread banacan
I'm relatively new to jQuery - I'm a server-side man, PHP - and I'm trying to discover how to make sub-navigation links appear under my main nav bar when a main link (with children) is hovered. It is no problem for me to do in PHP and I am including the sub-nav in a side bar, but I would also

[jQuery] How do I re-locate the jcarousel module on the page?

2009-07-31 Thread Greg
Crazy reallybut I have been trying to re-position the module on my html page and I can't get it to move to where I want it. I have tried the following: - Creating a new page with only the example carousel on the page - Wrapping the entire module, from id=wrap down in a div and

[jQuery] how do you make superfish a global include and dynamically write 'current' class?

2009-07-27 Thread lorenzo816
I racking my brain because I can't use PHP for this site. :-( I have used all the different variations of suckerfish and superfish for a long time now. With this version to help alleviate massive updating, I want to make this one a global include and have the script pick up the page URL and

[jQuery] How do a create a loop in my slideshow? (pelase help)

2009-07-23 Thread Smickie
I have create a slide show that has next and previous buttons and an area of 'dots' that link to a specific slide, however I'm having difficulty in looping the sideshow so it runs automatically. Ive tried making a loop function but it seems to act strangely. I'm pretty new to jquery and would

[jQuery] How do I implement this jQuery/AJAX effects on my page?

2009-07-22 Thread elggtester
If you go here, http://demo2.analoganalytics.net/publishers/7/offers and click on Email and Txt for any coupon offer, I would like to duplicate that exactly on my page. By looking at their script, it looks like they're using Prototype. However, I'm new to jQuery and wondering can the almost

[jQuery] How do I add parameters dynamically, right before the form submit ?

2009-07-18 Thread debussy007
Hi, When the user clicks on the submit button, I would like to add some parameters to the form before submitting it (standard post submit, no ajax) How may I achieve this ? Thank you for any help. -- View this message in context:

[jQuery] How do I toggle two DIV's with two different buttons

2009-06-28 Thread Brett
Hello, I just started using jquery and have been really impressed with it so far. I have been able to get it to do everything that I want with the exception of getting having two different buttons toggle the divs. I want them to be independently able to be used but if one is active and the

[jQuery] How do I cause a javascript variable to retain leading zeros?

2009-06-21 Thread Rick Faircloth
If i have a user with, say a password that starts with a leading zero, how can I cause jQuery to retain and not drop the leading zero? Rick Ninety percent of

[jQuery] How do I (client side) programatically set jQuery rating

2009-06-15 Thread Sekhar
I can't seem to figure out how to set the star rating value at client run time. Can you please reply with a sample? Thanks. Sekhar.

[jQuery] How do i use JQuery Autocomplete for multiple words

2009-05-04 Thread Gath
I have an autocomplete field and am just wondering how can i use it for multiple words? When i type the first word it works perfect, but when i space and type in the second word, its sends the two words back to the server and of course the results are wrong! eg. when i type the two words, 'Java

[jQuery] How do i control window scrolling with two divs(top, bottom)

2009-04-27 Thread Géant
Hopefully someone can help me! :) What I want to do is control a window/div scrolling via the use of two div's. Example. 1) First div named top(#top), which will be fixed to the top 2) Second div is bottom(#bottom) which is fixed to the bottom of the window. 3) An image in a

[jQuery] How do we change the css stylesheet of selected accordion header

2009-04-21 Thread abhishekgal...@gmail.com
Can anyone please tell me ,how do we change the css stylesheet of selected accordion header. I want that the selected accordion should have different background color and other which are not selected should have different background color.

[jQuery] how do we change the css stylesheet of selected accordion header ???

2009-04-21 Thread abhishekgal...@gmail.com
Can anyone please tell me ,how do we achieve that the selected accordion header should have different background color and other headers which are not selected should have different background color. I am naive with Jquery , jquery generates some kind of CSS associated ..how do we overide

[jQuery] How do I set the value of a form element?

2009-04-12 Thread webguy262
I'm sorry for being so thick, but I'm stuck. Please, can someone view the source of this page... http://www.eastexhaust.com/jquerytest.html ...and tell me why it is not setting the value of the form element? ricardobeat wrote: $('#myspan').text( $('#partnum').val() );

[jQuery] How do get the ID of an element that has been clicked ?

2009-04-10 Thread thought
Hi all. This might be more of a javascript problem rather than a jquery problem, but I'm also wondering if there is a 'jquery way' of solving it. Given this code: DIV id=div_one/DIV DIV id=div_two/DIV DIV id=div_three/DIV DIV id=div_four/DIV Lets say that the user is invited to click one one

[jQuery] How do I access global variables for id's, etc.?

2009-04-07 Thread Rick Faircloth
I would like to be able to do something as simple as p id=scriptmyGlobalVariable/scriptxyz/p, but apparently the marks are a problem. I'm able to output a global variable value like this: pThe value of myGlobalVariable is scriptmyGlobalVariable/script./p Is there some way to use global

[jQuery] How do I get Triggered event to stop looping?

2009-04-03 Thread Martin
Hello, Currently opening a dialog box and then trying to trigger some code to run once the dialog box has opened. The code is triggered by the following code: $(a.addGoal).trigger('click'); The addGoal code runs fine, the only issue I have is that the code keeps looping. I have already tried

[jQuery] How do you iterate across elements with the same class name?

2009-03-20 Thread Thierry
I have a bunch of hyperlinks with class 'hello_world'. I want to assign each one of them a random colour. I can set the colour for all of them with the following: $(a[class=hello_world]).css(color, red); How can I iterate over every element with class name 'hello_world'?

[jQuery] How do I subtract 64 pixels from the value of a div's height?

2009-03-18 Thread Jeremy Coulson
Here is my code: $(document).ready(function () { var contentDivHeight = $('#contentDiv').css('height'); // pseudo-code: var calculatedHeight = $(#clickMe).click(function(){ $(#leftNavBox-contentPages).animate({height: calculatedHeight}, fast);

[jQuery] How do I change the q= parameter?

2009-03-10 Thread Bogdan Craciun
Hello This is a great script, there's no doubt about that. However, I need to use this script with Drupal, and Drupal already uses a $_GET[q] parameter, and the autocomplete script seems to interfere with that. I've heard that I can change the q= parameter somewhere in the jquery.autocomplete.js

[jQuery] How do I adapt this code for multiple uses?

2009-03-10 Thread IanR
I have got some code http://pastebin.com/mc99132c which counts how many characters have been entered in a textbox and subtracts it from the maxlength to show how many characters are left. If I add a new textbox I don't want to copy and paste the code down and rename the variables so is there a

[jQuery] How do I extract XML CDATA?

2009-03-05 Thread Allan
I'm trying to display the description field from an RSS feed that I don't control -- the RSS feed inserts the contents as CDATA... ?xml version=1.0 encoding=UTF-8? channel ... description![CDATA[Has Chancellor Palpatine given the go ahead to execute Order 66 or is the TomTom lawsuit about

[jQuery] How do I translate this in jQuery?

2009-03-03 Thread Rick Faircloth
I've made various attempts at translating this into jQuery without success. I guess I'm just not sufficient enough in regular JS to make it work. It's working, but I'd like it to be written as much as possible in jQuery syntax. Would some please translatethe first three lines of this into

[jQuery] How do you handle 2 differents and 1 action?

2009-03-03 Thread Thierry
I have the following piece of code which checks if a user has pressed the Enter key in a text input with id=text_input and then performs some action: $(document).ready(function() { $(#text_input).keyup(function(e) { // Checks if the Enter key was entered if(e.keyCode == 13)

[jQuery] How do you handle 2 differents and 1 action?

2009-03-03 Thread Thierry
I have the following piece of code which checks if a user has pressed the Enter key in a text input with id=text_input and then performs some action: $(document).ready(function() { $(#text_input).keyup(function(e) { // Checks if the Enter key was entered if(e.keyCode == 13)

[jQuery] how do I code jquery image gallery inside ajax tabs?

2009-02-16 Thread Arianna
They both work on their own, but when I click on the ajax tab that contains the image gallery html, its just a blank page? What do I need to change to get this to work? Thanks, Arianna

[jQuery] How do I update this with ajax??

2009-02-10 Thread AndreMiranda
Hi!! I have a page with DatePicker and a list of events that occur in some respective date. So, when a person selects a date in DatePicker, this date is passed as an argument to a method (I'm using asp.net mvc) and this method returns me all the events of the chosen date. The problem is the

[jQuery] how do I invoke a cluetip from code?

2009-02-07 Thread frank6000
I just want to fire up a cluetip just like an Alert(). e.g pseudo code: if(!condition){ cluetip(try again!) } thanks in advance

[jQuery] How do I add/subtract currency with jquery?

2009-02-06 Thread webopolis
I have a group of form fields that will contain prices in dollar and cents (0.00) that a user enters. After the user enters the prices in all the product fields, discounts in the discount fields (indicated by something like -5.00), and a deposit in the deposit field, they click a calculate button

[jQuery] How do i extract the index of an item based within a table?

2009-02-04 Thread paulswansea
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then

[jQuery] How do i extract the index of an item based within a table?

2009-02-04 Thread paulswansea
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then

[jQuery] How do I use BlockUI with Jquery?

2009-02-02 Thread eddy556
I know this may sound extremely dumb, but how do I actually use BlockUI?? I've got jquery working perfectly, but how do I access BlockUI's methods etc? I must make a reference to it somewhere? There is nothing in the documentation. Many thanks

[jQuery] How do I get the index of the currently clicked textbox?

2009-02-02 Thread bittermonkey
Hi, How do I get the index of the currently clicked textbox? I have 5 textboxes in a form, all of which I am binding a click event. Here is the code: $(#associate-form input[type=text]).bind(click, function() { alert(this); //what is its index position from the 5 other

[jQuery] How do I use JQuery to implement a live search feature for Google Web Search API?

2009-01-29 Thread desbest
How do I use JQuery to implement a live search feature for Google Web Search API? Here's some help. http://code.google.com/apis/ajax/playground/#set_site_restrict http://exscale.se/archives/2008/05/16/jquery-live-ajax-search-plug-in/

[jQuery] How do I get the actual HREF of a link?

2009-01-25 Thread Jumpfroggy
Here's the short version: I have a link: a id=testlink href=page.htmlpage.html/a But when I do this: alert($('#testlink')[0].href); I get this: http://localhost/page.html How do I get the *actual* HREF of the link (page.html), and not the mangled version? Thanks! -- The

[jQuery] How do I show the label text in an input

2009-01-24 Thread osu
Hi, Apologies for this noob question, but I really need help and I have tried numerous techniques to get this right. A client has asked me to create an accessible form that has text describing what to put in the input area shown within the input. However, they don't want a label above it. To

[jQuery] How do I communicate with other windows with jquery

2009-01-22 Thread jack
On firefox mutiple tabs, how do I manipulate the other tabbed window, such as set focus or change css on a specific element?

[jQuery] How do I abort a function?

2009-01-16 Thread Rick Faircloth
If I want to abort a function based on a condition, what is the command to do that? if x == 0 abort this function... Thanks, Rick

[jQuery] how do I change the opacity of the sub-menus?

2009-01-15 Thread Albs
Please help a newbie! I've installed superfish on my web site, and it's working great except for one thing: the sub menus are transparent and it's causing some confusion for my users. I can't seem to find the file and the line to change the opacity setting so that it becomes completely opaque.

[jQuery] How do i generify this action to happen for every radio button with id=other

2009-01-15 Thread kat...@googlemail.com
I have a form On form I have several groups of radio buttons. Many (most) of these groups of radio buttons has one in the group with a value of other and an id of unique_id_other. When a user selects other an input text field is shown and the other radio button goes away. This is done via code

[jQuery] how do I change the opacity of the sub-menus?

2009-01-15 Thread Albs
Please help a newbie! I've installed superfish on my web site, and it's working great except for one thing: the sub menus are transparent and it's causing some confusion for my users. I can't seem to find the file and the line to change the opacity setting so that it becomes completely opaque.

[jQuery] How do I use the JSON api to enter a value in a p tag?

2009-01-15 Thread desbest
How do I use the JSON api to enter a value in a p tag? Code is here http://codedumper.com/flickr-api-using-jquery-json Example is here http://sampleswap.uk.to/json/test.html Yeah the code I've got is fine for images. But what if I want to create a p and fill it with data from the api.

[jQuery] How do I retrieve all INPUT elements from within a div

2009-01-09 Thread Oltmans
Hello all, I've a DIV that looks like div id=left /div and this DIV contains text-boxes, check-boxes and drop-downs. Say, I've to retrieve only text-boxes from this DIV--what is the best possible way to do that? Any help will be highly appreciated. Thanks, Oltmans

[jQuery] How do I delete the content of a cloned filefield?

2008-12-31 Thread Rick Faircloth
Hi, all... and Happy New Year (a little early. US East Coast, 8pm)! I'm cloning a filefield, and, we'll assume, the user has already used the browse button to locate a file. When this filefield is cloned, the file path from the previous field is still in the new field. I want to empty the

[jQuery] How do I cache

2008-12-27 Thread bob
I would like to have a registration form cached for 1 year public and private. How do i go about it. Thats what I tried and register.html was not cached. jq.ajax({ type: POST, url: http://www.example.com/register.html;, dataType: html, cache: true,

[jQuery] How do I make a partial textarea autocomplete?

2008-12-24 Thread Sam Unplugged
Hello, Is there an example of partial autocomplete? By 'partial' I mean, only a part of textarea gets suggestions. Users in my project are supposed to start a message in a textarea with 'Dear UserName' I want to make this UserName part either clickable like in Office documents custom fields,

[jQuery] how do i select all anchors OUTSIDE of a specific tag

2008-12-18 Thread elubin
How do i select all of the anchor links that are NOT in the div x? body a href= onclick=alert('TODO');return false;outide div 1/a div id=x diva href= onclick=alert('TODO');return false;inside div 1/ a/div a href= onclick=alert('TODO');return false;inside div 2/a a href=

[jQuery] How do I write a function to close shadowbox?

2008-12-10 Thread Rick Faircloth
For my success callback (I guess that's what you call it...) I've got a series of events after an $.ajax post. Here they are: $('#contentdiv').empty().fadeIn(1000).append(response.login); $('#my_story').empty().fadeIn(2000).append(response.my_story);

[jQuery] How do I create an auto scaling background?

2008-12-09 Thread BigFisch
Take a look at http://ringvemedia.com/shanghai Do you see how if you resize the browser window, the background image automatically scales? How would I do this with jquery?

[jQuery] How do I build a variable array/object to use $.post?

2008-12-05 Thread Kevin Thorpe
Hi, I'm struggling a bit to get $.post to work. I can get it working as documented, ie. $.post(url, { param1: 1, param2: 2 } ); but I want variable fields on my form (identified by the class 'edit_field') to be posted to the url I thought the approach below would work, postdata is built

[jQuery] How do you get the name of a tag/node/element?

2008-12-04 Thread DC
I'm trying to convert an xml node into an object...all I want to do is find the name of the tag...function function initObjArray(xml, arr, tagName){ (xml).find(tagName).each(function(){ var o = new Object(); var t = $(this); var c =

[jQuery] How do i submit a new plugin?

2008-11-30 Thread shavin
I wanted a gallery viewer which would accomodate multiple sets of photos in which each set could correspond to one event. Additionally I wanted it to pick the set-name, thumbnails paths, full pics paths and captions text etc from javascript object/array instead of markup. And I was impressed by

[jQuery] how do you get a div from an ajax form return?

2008-11-22 Thread davidgregan
I'm using the jquery forms plugin for an ajax request and update. I set the target option to the desired div that I want to update. The problem that I'm running into is that it will update the div with the contents of the entire page rather than the just the contents of that div. I'd like to do

[jQuery] How do I write an expression to get all checked items of a certain class?

2008-11-18 Thread [EMAIL PROTECTED]
Hi, How do I write a JQuery expression that will give me all the elements that are inputs of type=checkbox, that have class=subscrCheckbox and that are checked? Thanks, - Dave

[jQuery] How do I reference PHP for an ID value?

2008-11-18 Thread propstm
In a simple world the function i'm trying to perform is: $(document).ready(function(){ $(button).click(function () { $('.cars#seats').slideToggle(slow); }); }); But I'm working in Wordpress. What I'm trying to do is for each entry be able to toggle the main content of the

[jQuery] How do you use LiveQuery with ajaxForm inside tab panel?

2008-11-17 Thread Raghu
Hi, I am using JQuery UI tab panel and one of the tab has remotely loaded form which I submit using ajaxForm... Once I submit form and in case server return error message for any invalid values, then I correct form and resubmit...After this new response is coming in new page. I know page elements

[jQuery] How do I reset to the original positions of a sortable list? (using the .sortable() method)

2008-11-14 Thread kgosser
Hey all, I'm using this sortable method: http://docs.jquery.com/UI/Sortables/sortable Works perfect! I have one question though: When a certain action is taken by the user, I want to reset the original order of the lis in the list. I can't seem to figure out how to do that. Does anyone have any

[jQuery] How do I move contents from different frames in a frameset with Jquery?? Tried and can't get it to work!

2008-11-10 Thread BananaHead
Hello! I have tried this with the advice of a few in #jquery channel on Freenode and I cant get this to work. Here is my situation: I have a frameset with 2 frames: One's frame source is frame1.html (with Id of bottomFrame) and frame2.html ( with id of mainFrame). mainFrame source

[jQuery] How do I keep from focusing a readonly field?

2008-10-28 Thread TimW66
Hi all, I have a table that I will usually want to focus the first input box in the first column in the last row. Something like this: table tbody tr ... /tr tr td input -- selects this one input type=hidden /td td input /td

[jQuery] How do i use JQuery ?

2008-10-18 Thread nadavten
Im trying to download JQuery but its downloading a .download file ... what should i do ?

[jQuery] How do I remove a plugin melodramatically

2008-10-10 Thread Dan M
All, If I were to add a plugin to an element on a page, say clueTip. How could I remove the plugin from the element when I want without reloading the page? Regards, Dan

[jQuery] how do I fix the position of an element?

2008-10-02 Thread Flavio333
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the

[jQuery] How do I update my control after I submit data to my database?

2008-09-12 Thread jmDesktop
If I use jQuery .ajax to submit to my myUpdate.php file, after I do that, how do I then update my control that I submitted the information to update in the first place? For example, I have username textbox on a form, and I submit that username to a database. I then have a div or label that

[jQuery] How do I access the function handlers of an event.

2008-09-05 Thread Drew LeSueur
$('#myid').click() will trigger the click event; and $('myid').click(function(){alert('clicked');}); will bind that function to the click event but how do I return the function that would be called when $('#myid') is clicked? (note: return, not call) Thank you,

[jQuery] How do I find out what the type of the HTML object?

2008-08-26 Thread temega
So I got this code: $(document).click(function(e){ var target = $(e.target); }) How do I find out what HTML object (A, SPAN, DIV...) the target var is? Thanks.

[jQuery] How do I cache a page once it has been loaded via AJAX?

2008-08-23 Thread BrandyCRUZñ
How do I cache a particular page that has been loaded via Ajax GET request. I want it to stop the GET request after it has been loaded and simply show data onclick. I set the cache setting to 'true' and it still calls the request. What am I doing wrong? code a id=myLink href=javascript:;My

[jQuery] how do I stop a further event will be ahppened again if current event has not yet finished

2008-08-18 Thread jack
Hi, all If an event hasn't finished how do I prevent the same event being triggered again? Thank you in advance! Jack

[jQuery] How do I run an ajax request on form submit?

2008-07-25 Thread HairyJim
Im new with jQuery and I have quite quickly turned a 54 line script into a 5 line jQuery script :) However all I want to do now is run an ajax request on the form submit but the problem I am finding is that it seems the form gets submitted before the ajax query returns its data - thoughts?

[jQuery] How do I do a Ajax request before form submits

2008-07-22 Thread HairyJim
Hi, I created a form which I wanted to submit using jQuery (I'm new to jq) but before the submit I wanted to run an ajax request and attach the returned result to the form for posting. However it seems the form submits before the ajax request is returned, I can see the code generated in the DB

[jQuery] How do you close a thickbox from an iframe and also refresh page

2008-07-22 Thread bob
Hi, I've been trying to finish off a review section on my site but having trouble. I have a working review TB that pops up and holds the form for the review in an iframe. Once someone enters all the form info and submits it shows a thankyou message. At this point I would like the user to be

[jQuery] How do I write a JQuery expression for this?

2008-07-20 Thread [EMAIL PROTECTED]
Within a span with class TreeView, there is a table. Within the table, there are TD's. I want to select the TD's whose content ends in .pdf. How would I go about writing an expression to, say, apply a class to only those nodes? Thanks for your help, - Dave

[jQuery] How do I change the target value for all links with a target of _top

2008-07-17 Thread mickbw
I am embedding an external page (with permission) in an iframe on my page. The problem is when the page has a link with a target value of _top it navigates out of the frame. An example link I could try to change is: a target=_top href=http://jobsearchlog.com;Job Search Log/a I want to

[jQuery] How do I find and replace HTML comments?

2008-06-25 Thread M.
Hello, I have a HTML page and I've included a HTML comment above my title tag which says: !-- this is my comment {2008} -- titlethe title of my page/title everytime the page is loaded I want to use jQuery to insert the current year in place of 2008, so if some one views the page next year then

  1   2   >