Getting all checked form field values
I have a simple set of checkboxes: <input name="day1" type="checkbox" value="sun" /> Sun <input name="day2" type="checkbox" value="mon" /> Mon <input name="day3" type="checkbox" value="tue" /> Tue <input name="day4" type="checkbox" value="wed" /> Wed <input name="day5" type="checkbox" value="thu" /> Thu <input name="day6" type="checkbox" value="fri" /> Fri <input name="day7" type="checkbox" value="sat" /> Sat When the state of one of them changes I want to check the state of all of them. So far I
i just want direct children
Does anyone know why the default behavior of jQuery is to select ALL the child elements down the entire tree from the parent? Something like $('body > center') will locate all the center elements on the entire page, not just the center elements that are direct children of the parent. This seems to me like a major design flaw. 95% of the time when looking for children you want the direct children of the parent, so why wasn't this made the default? Supposedly .children() only selects direct children,
jquery with asp.net framework 1.1
hi, I am a newbie of jquery. I know jquery uses ajax, is it a must to use jquery with .net 3.5 OR MVC ?
[jQuery] Using $.ajax to post XML to an aspx page
I'm new to using JQuery and I've been searching everywhere to be able to post XML to a WebMethod on an aspx page in a site. I'm sure it can be done but I just have no idea how. Any help would be greatly appreciated!
[jQuery] need help with logic
I have search page. At this page, when user enters a value to the form field and clicks submit, the value is posted and server's results printed inside main div. Now, I want to add search form to main page and so when user enters a value to the form field and clicks submit, he is redirected to search page and the entered value is posted and server's results printed inside main div. Is this possible? If yes, how?
[jQuery] Is this sytax legitimate?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher"
[jQuery] pass different IDs to function?
Hi all. I'm very new at jQuery, and I've gotten myself stuck. I have a set of menu tabs which should show/hide divs on the page, and the active tab should change style. So far I have been able to write the following, which does exactly what I want it to: function divFlip() { $(".hiding").hide(); $("#div1").show(); $(".tabs").removeClass("highlight"); $("#1").addClass("highlight"); } which I've called from an onclick in the tab. (I know that's not recommended; I'll get
[jQuery] Disable submit button with Validation plugin
I need help with the Validation plugin. I have a form with a required field. When the form is valid I want the form to submit and I also want to disable the submit button. I have a function that does the disabling, but I'm not sure how to call this function within the "validate" method. Here is my simple call the the validate method. $(document).ready(function() { $("#myForm").validate() }); and here is my disable function -- jQuery.fn.diableOnSubmit = function() { var input=this.find("input.submit")
[jQuery] [validate] NOT equal to rule??
re: http://docs.jquery.com/Plugins/Validation/Methods/equalTo#other Is there a way to specify a rule that a field be NOT equal to? i.e. I have a watermark in the name field set as "Enter your name" - I want to validate that "Enter your name" is NOT the value of this field. Thanks for the help!
[jQuery] Load Ajax content from flash XML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=us-ascii" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.6001.18813"></HEAD> <BODY> <DIV><FONT size=2 face="Trebuchet MS"><SPAN class=096254222-19082009>I have a flash navigation which gets the URL's from an XML file like:</SPAN></FONT></DIV> <DIV><FONT size=2 face="Trebuchet MS"><SPAN class=096254222-19082009></SPAN></FONT> </DIV> <DIV><FONT size=2 face="Trebuchet MS"><SPAN
[jQuery] Help with Test Case for jQuery XSLT Plugin
I'm using a jQuery XSLT plugin to load static content from an XML file for my portfolio (http://www.oogeeyot.com) It seems for some people, the content loads correctly, but for others, the user has to select the links more than once to get the content to load. I ran this test case: http://www.oogeeyot.com/sandbox/jquery_xslt_test_case/ by Johann who wrote the plugin. He said it was working for him for Mozilla 3.0.13, but I don't know OS. I'm running Mozilla Firefox 3.0.1 on Mac OSX and I'm having
[jQuery] JQuery [Validate plugin] - Placement of error text
Hi all, I am using the jquery form validation plugin (http://docs.jquery.com/ Plugins/Validation) to get some simple validation done on my form. It's working perfect so far. When I set a particular form field to have the class "required" that makes it so that it can't be blank and when the user tries to submit the form, JQuery displays a "This field is required." text beside the field and focuses on it. The text generally appears right beside the input element. I was wondering whether it is possible
jqueryinnderfade.js wih jqueryslidemenu.js
I integrate the jquery slide menu and jquery innerfade effect on the same page. but when i mouseover the manu it doesn't display the submenu. Innerfade jquery hide the submenu. design example: MENU HOME,HOME1,HOME2,HOME3,HOME4,HOME5 -- ---- SUBMENU ---- SUBMENU ---- | | | | | | | | ^ ^ ^ ^ ^ ^ ^ __________________________________________ JQUERY INNER EFFECT (fadein , fadeout) hidden submenu behind the jquery.innerfade.js DIV. Is any solution for this?
[jQuery] Novice problem, multiple distinct queries on one page.
I hope I'm in the right group this is a first. My office is new to using Jquery and on this problem we are all wandering around in the wilderness. We use IE, sharepoint and are doing web parts. On a single web part we need to do several queries on a list to fill several select/combo boxes. The data list I'm working with for self training and to narrow down the problems is: PLANT DEPT EMPLOYEE 1 1A EMP 1 1 1A EMP 2 1 1A EMP 3 1 1B EMP 4 1 1B EMP 5 1 1B EMP
[jQuery] Handling forms in tabs
Hi, I have a form with the same structure being loaded in 3 tabs. Now during validation, I will have issues with the IDs of the form fields. Now is it possible to disable the forms in tab 1 and tab 3 when tab 2 is clicked. - Anush
[jQuery] Flickering / flashing in Firefox with toggle or show/hide
I'm getting a "flickering / flashing" effect in Firefox when using jQuery "show" and "hide" or "toggle" on some div's. Any idea why this could be happening? Seems to be more pronounced when scrollbar is at bottom and window has to resize. Scrollbar does not disappear and reappear so it's not due to that. Thanks.
[jQuery] (Validate) - How to apply validations on dynamically generated forms.
Hi, I am using the JQuery validation plug in for form validations. My page contains a loop in which dynamic forms are generated and within each form some text fields are also dynamically generated. I have assigned the id and name attributes both to form and fields with dynamically appending a value. Now I want to apply the validation on all these form, please note that each form contains its own submit button. I have tried using the following selector, $('[class^="commForm"]').validate();
[jQuery] Flicking in Firefox with toggle or show/hide
I'm getting a "flickering" effect in Firefox when using jQuery "show" and "hide" or "toggle" on some div's. Any idea why this could be happening? Seems to be more pronounced when scrollbar is at bottom and window has to resize. Scrollbar does not disappear and reappear so it's not due to that. Thanks.
[jQuery] Accordion Flickers in Firefox Only
Hey guys I seem to be having an issue with the accordion flickering in Firefox but not in IE. It happens mostly with the Expand All and Collapse All features. I am thinking it must be my CSS which I have altered to create a custom box around the content. Can anyone help me figure this one out? Here is the link to the page: http://www.thelocalchoice.state.va.us/sandbox/dhrm/customers/management.html
need help with JQUERY UI dialog that keeps submitting
Hi, I'm trying to create a generic function that I can use on all my pages. I want a dialog message to appear if the user has changed anything but not saved it. Now it sort of works as I get the dialog message but it still submits the page before I have had a chance to reply i.e to cancel or continue with the request. This is what I have I'm using JQUERY UI 1.7.2 This is what I have in my header $jquery('a').filter(function(){ return ( this.href.search("&APP_ID.:&APP_PAGE_ID.:")
Draggable z-Index Help
I created a PHP directory that loads all images in the folder the file is placed in and i used it with the drag UI, Drag There is only one issue, it dosn't change Z-Index. does anyone know how i could change that? so when you click on the image it will bring forward here is the source <script type="text/javascript"> $(function() { <? $path = dirname($_SERVER['SCRIPT_FILENAME']); $dir_handle = @opendir($path); while ($file = readdir($dir_handle)) { if($file!="." && $file!="..") { if(strpos($file,
[jQuery] Plugin does not show in the Admin Control Panel?
Hi. I am unable to see, or rather the plugin does not display in my admin... I uploaded the plugin into my plugins folder (i have the latest WP) and i still cannot see it? What do you think?
Jquery Drag with PHP loop
I created a PHP directory that loads all images in the folder the file is placed in and i used it with the drag UI, Drag There is only one issue, it dosn't change Z-Index. does anyone know how i could change that? so when you click on the image it will bring forward here is the source <script type="text/javascript"> $(function() { <? $path = dirname($_SERVER['SCRIPT_FILENAME']); $dir_handle = @opendir($path); while ($file = readdir($dir_handle)) { if($file!="." && $file!="..") { if(strpos($file,
[jQuery] multi date selection
multipule date selection<br clear="all"> <div></div> -- RamaKrishna.AVS
[jQuery] overlay does not work in jquery ajax success
I use jQuery Tools and got a strange problem (jQuery Tools --> http://flowplayer.org/tools/index.html) HTML <code class="html"> <button type="button" rel="#overlay" id="overlaystatic">static</ button> <button type="button" rel="#overlay" id="overlaydynamic">dynamic</ button> </code> Version where only the static overlay works <code class="javascript"> $(document).ready(function(){ $("#overlaystatic").overlay({expose: '#6096D4'}); function createoverlay () { var datastring
[jQuery] Can I put tool tip somewhere other than after trigger?
Hi, Hope this is the right forum for this.... the page is http://blackpaint.co.uk/BlackPaint09/films/index.html if you put your mouse over 'TIDE' you will see the tool tip. But the problem I am having is that it won't work I put the tooltip DIV somewhere else than straight after the trigger. This is the only place it works Code: ../flash/TIDEFullFilm.flv Tide <div class="tooltip">TEST tooltip </div> </div> I want to get it outside of the stripholder div so that I can set a percentage width to the
[jQuery] Unbelieveable: Little Boy Plays U2's With Or Without You
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher"
[jQuery] jQuery Slider ('disable')
i have 3 sliders on my page. 3 steps each. Low, Medium and High. the combination of the two sliders dictates the position of slider3, wich i have disabled. but its so faded, that i can barely see the slider bar, or handle... is there a way to disable the slider, but not have such a high opacity?
calendar display issue with ie 7 and ie 8
Hi, I am very new to juqey and we are using jquery latest control it works fine for ie6, chrome, safari and firefox but in ie 7 and ie 8 it is not getting displyed properly. i thhnk it is css issue but month and year are getting displed in seprate lines. please tell me how to fix this.
[jQuery] Menu - SlideDown SlideUp
Hi all Im pretty new to the JQuery world, and am trying to modify the following code so that it slidesDown and slidesUp on hover (mouseover/ mouseout), however the mouseout isnt working properly as it dissapears completely rather than doing the slideUp effect JQuery Code: function menu(){ $(" #nav li").hover(function(){ $(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown('fast').show(); },function(){ $(this).find('ul:first').css({visibility: "visible", display: "none"}).slideUp('slow');
[jQuery] Background color on images in Jquery Cycle
Here's a new problem and no idea how to fix it. I've tried every css trick I could think of. I had to set width and height on the container for the images for IE. However, when I did that in my style sheet, it grabs the background color of the body and puts it into the div. I have no idea what's going on with this. Here's my css for the div containing the images: .bigimg { background:url(/images/ciu2009/ad_rot_shadow.png) bottom right no- repeat transparent; clear:both; width:100%; height:100%;
Can I put tool tip somewhere other than after trigger?
Hi, the page is http://blackpaint.co.uk/BlackPaint09/films/index.html if you put your mouse over 'TIDE' you will see the tool tip. But the problem I am having is that it won't work I put the tooltip DIV somewhere else than straight after the trigger. This is the only place it works <span class="class1"> <span class="SlantedWritingFilms"> <a onclick='return getPass(this);'rel="shadowbox;height=1000;width=2000" href=../flash/TIDEFullFilm.flv id="trigger" >Tide</a><div class="tooltip">TEST tooltip
[jQuery] removing table rows except the first one
Can anyone please confirm the syntax of what I am doing I have a table with id="tbl", it has 4 rows. I need to remove all rows except the first one. It has "tbody". Is this the way to do it $("#tbl > tbody > tr:gt(0)").remove(); If this is the way to do it, it is not working. Any help is appreciated. jake
[jQuery] Unobtrusive select field replacement?
Hi everyone, I am looking around for a good way to build an unobtrusive replacement for a select field. I haven't found anything that matches my requirements (or dreams?). Starting points, suggestions, links... any help would be greatly appreciated. I really don't want a groovy custom graphic widget. I just want it to look like the select is able to display images when the list is popped up. This is not a multi-select. Just a normal popup-type select. Dreams: • Invisible until clicked (so the browser
Tiny Sort, Works But Want To Move Button Location
Hi, I'm a newbie with Jquery so any help would be appreciated. I have successfully used TinySort plugin to arrange some product items on an eComerce page, however I would like to move the location of the sort buttons but cannot figure out how to do it. Here is my script: <script type="text/javascript" src="uploads/js/jquery.tinysort.js"></script> <script type="text/javascript"> $(document).ready(function(){ // create a sort by rating var sortrating = $('<p><a href="javascript:void(0)" class="btn">Sort
[jQuery] time entry controls (e.g. timeEntry plugin)
does anyone use a jquery time entry control? which one? i'm looking at this one: http://keith-wood.name/timeEntry.html which seems ok. i'd be interested to know what others are using and what you think of them.
[jQuery] Extend() element then Add() to another element
I would like to do the following: -- var many = $([]) for(){ var one = $('<div></div>') .data('stuff',true) .extend({ 'test':function() }) many = many.add(one) one.data('stuff') //pass one.test() //pass } many.eq(0).data('stuff') //pass many.eq(0).test() //FAIL, test function does not exist -- I would like test() to succeed, how can i accomplish this? Thanks in advance, Robin
[jQuery] jquery with cherrypy
Dear all, I have a html file with a submit button and a div element. I load the <div id="someid"> element with a table on button click event - as follows: (I omit the button click event wrapper for brevity). $('#someid').load('target_script', {'a':1}, function(data){ $('tr').css('backgroundColor', '#feefee'); }); I am using cherrypy webframework and the "target_script" is accessible via web interface only. ie., it is not a file, but a runtime method emulating like a target script to execute.
[jQuery] Thickbox Image Galleries - How to make the thickbox bigger
Subject pretty much says it. On my screen the thickbox is about 600px when opened. The image is 1200x1000 so it can afford to be bigger. How can I change this? I'm looking in the css and not seeing an obvious answer.
[jQuery] JQuery Cycle effects don't work in IE
I have tried various things to get this to work in IE, and I'm not sure why it won't work. The shuffle effect works, but not properly. It works in all the other browsers just fine. I've uploaded the code to jsbin here: http://jsbin.com/icuko I need this solved by the end of the day tomorrow, so if someone wants to take a look at it, please let me know what you think. I've not loaded everything in there, but it should be enough to give you an idea of how it's supposed to to work. Thank you.
Next Page