Tabs - Close all on page load
Hi, I'm sure this is a breeze for you guys. I've started to use the Tabs functionality on a page, but instead of one of the tabs being open on page load, I want them all to be closed / collapsed. Does anyone know how to do this ? Thanks James
When will jquerymobile come?
Mid-October,and today is 10/11/2010,does anyone know some news?Thanks!
Dont trust jquery validation
Hi guys never trust in jquery validation.... try this.. Goto www.ronithomas.com/http://www.ronithomas.com/jquery-validation-problem/ simply press the submit button... The jquery will surely stop you if you didnt hav enter any text... Now refresh the page and keep on pressing the submit button without entering any text... Surely you 'll get redirected the thankyou.php page... :) If you dont redirected at the first attempt try few times, refreshing the page and click submit while refreshing.... So
DatePicker goes away after postback
I am using the version 1.8.5 DatePicker on a page in an ASP.Net 3.5 application. It is being used on an Ajax Modal Popup which is on a user control. The date picker is used as part of the criteria for a database search. On the initial load, the calendar button image is shown and the calendar works as normal. If the search crieteria does not return any values, a postback is completed and as expected the modal popup dissapears. However, if the button causing the modal popup to show is clicked
jQuery Cycle Plugin - Link
Good Day All. Quick question. Is it possible to link from a jQuery slide image on my index page, to a different slide on say my design page, and have that link go to a specific slide on my design page. Example, if I link from slide 5 on my index page, it would then link up to slide 5 on my design page.
How to replicate this select box?
Hi. Stumbled on this select box which I believe uses jQuery: I would like to know how to replicate it. I can see that there are background images and the search button is an image, but it's the size of the fields and the coloured dropdown background that I really want to understand. I'd also like to add an input field above the select boxes. Any ideas how to achieve this? Thanks in advance. Veronique
<input type="submit"> with CSS background in Blackberry 9520 disfunctional
Hello, jQuery mobile team! I am currently developing a HTML5/CSS3/JS template set for mobile webkit browsers, including the Blackberry's Torch Browser. In the Blackberry 9520, I found a malfunction of input type=submit Elements which become unclickable if they get a CSS background. Has anyone else experienced this error and if yes, have you found a solution? Thank you in advance for your answers. Alex
No response in autocomplete with remote source (JSP)
Hi, I'm completely new to jQuery, though I have some basic Javascript skill. I'm trying to use the autocomplete widget. It works fine with local data on the page, but I can't make the remote version (reading from database) work. The letters I type in the autocomplete textbox are forwarded properly to my backend JSP/Java code, but the list that I create there is never showed in the browser. Here are the two relevant snippets from my web page: <script> $(function() { $("#jquery_from_ob").autocomplete({
[jQuery] queue, dequeue, stop, and the endless mouseovers
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi everyone,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Someone asked me to try to replicate something he saw here:</DIV><DIV><A href="http://www.andrewsellick.com/examples/tabslideV2-mootools/">http://www.andrewsellick.com/examples/tabslideV2-mootools/</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It looked pretty straightforward, and I was able to reproduce the main
$.getJSON working, but...
Hello everyone, in a nutshell, I'd like to find a way to parse a JSON file in a way one would expect given its structure. For example, the JSON file looks like this: "Products": [ { "Name":"Northstar CAD", "Image":"/solution_guides/bpscreenshots/firstcalcad_sm.jpg", "Description":"Northstar CAD is based on advanced analytical routing techniques providing communication centers with true decision support as well as integrated Esri GIS.", "Platform":"Server",
autocomplete-remote multiple returns undefined error on json data returned from asp.net 2.0 webservice
Hi, I have a hard time getting this one work. please give some hint and I have some deadline to make. here is the web service [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string GetJsonMemberCodes(string term) { suggestions = new List<Members>(); Data dt = new Data(); suggestions = dt.GetJsonMemberCodes(term); } return new JavaScriptSerializer().Serialize(suggestions); } here is the data
clueTip on an image showing content with alt tag
I'm using clueTip on an image map which works fine. However, when I rollover the areas, the clueTip appears then the alt tag also appears over the clueTip with all of the clueTip contents. How can I prevent this? I am simply using a class to trigger it. I set the alt tag properties for each area to no text using alt="" but that didn't help.
Several Improvements and Changes to JQueryUI Autocomplete
Several weeks ago I made several changes to the jqueryui autocomplete control that we need for using it in a collaboration platform (it's call "Tricia", see http://www.infoasset.de/). I expected I would want to change so many things that I have to maintain a separate fork independent of the official release anyway. However, now I saw that the new release contains one bugfix I already made (and several more I'd like to have in my version) and I'm wondering if my changes are general enough to be worth
Problem with link plugin
Does the link plugin works only with the jquery v1.4.3pre released with it? Why doesn´t it work with the version 1.4.2?
Save sortable li list order to database?
I have a li sortable list that gets its values from a database. I can rearange the list items as I should, good. But now I wonder what would be the best way to save the new order of the list (after I have rearange it) to the database? Im not sure how to do it, any suggestion appeciated, thanks.
sequentially executing functions
hi all, I am making a web page which requires three main functions the layout is like this function main() { update(); showResult(); } function update() { setTimeOut('alert("process finished")' , 1000); } function showResult() { alert("updated result"); } now, my problem is when I am calling main() method, right now, if i call update() method, the showResult() method is also getting executed simultaneously. I dont understand how. I am unable to fix this problem after trying many things. can anyone
$.ajax - autocomplete - .live
Hi I have have written a web service that is called by the following jQuery code. The results of this call are applied to a text box that is on the first row of my inventory table. $.ajax({ type: "POST", url: "GetInventoryItems.asmx/GetInventoryItemsOnDivisionID", dataType: "json", data: "{}", contentType: "application/json; charset=utf-8", success: function(data) { $("input[name='tbTitle_1']").autocomplete({
problem with post()
Hi everyone, I am trying to write a javascript to login to SMS gateway (HTTPS) and send SMS through it. Login is OK, but when I try to send message, it tells me that page expired. When I do it by myself in browser, its OK - I clasically post data by https://www.park.vodafone.cz/gateway?x=...&number=...&text=... and it works. But in my script, it doesnt. Here it is: jQuery.post("https://park.vodafone.cz/login", { email: EMAIL, password: PASSWORD }, function(){ jQuery.get("https://park.vodafone.cz/gateway",
Using jQuery to show and hide divs
I'm very new to jQuery and have been studying it for about a week now. It's much more complicated than PHP (at least I think so :-P) and I'm having trouble learning how to put together events. Hopefully if I can describe it I can get some help. Here's what I have: I have 2 divs...div A and div B. div A sits on top and div B on bottom. When the page loads, I want div B to be hidden. I also want to opacity of div A to be set to zero. I want div B to stay hidden until someone hovers over div A. When
few issues with the cycle plugin
I got 2 slide-shows running with fade effect using the min cycle plugin. They both cycle between divs containing an image and a link both generated from a database with an asp code. > Link < (page is in Hebrew) I'm having a couple of issues with setting the plugin: 1) In FF when first loading the page (or hard refreshing) the divs turn out squashed with the images spilling out. The solution I found on the web is to assign the img's proportions to the div - something that can't be done in my case
[jQuery] jquery serialScroll and slide element links
Hello. I have came across jquery serialScroll plugin which is available here: http://flesler.blogspot.com/2008/02/jqueryserialscroll.html The plugin seems to work but I'm having some problems. I made a slide show which is almost the same as the second slide show in the demo (with the pictures and ability to slide right and left): http://demos.flesler.com/jquery/serialScroll/ However, if I put the links on the elements inside the slide - the links will be visible but when I click on the element, the
fadeIn/fadeOut/Pulsate produces jagged text in Firefox 3.6.8
The following code demonstrates the problem, it doesn't happen when the text is black, but when setting the color to red it seems as if the blending goes completely wrong.(fadeIn/fadeOut does the same) See attached image: Tried other browsers(IE, Chrome) and it worked ok there. Windows 7 64-bit. This is the code that gives me the problem: <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
new jQuery 1.4.3rc1 breaks my UI accordion (but rc2 is fine!)
Hi, Just to let you know (and to ask confirmation) that I have a problem with the new jQuery. I dropped 1.4.3rc1 in an application with lots of UI stuff, and this is the only UI thing that doesn't work anymore. It simple doesn't display the accordion, looks like it's not build at all. Looks like, because the strange thing is, that an UL I have inside one of my content panes, has the extra markup added (like class="ui-accordion-header ui-helper-reset ui-state-default ui-state-active ui-corner-top"
How to get selectable selected id.
Hi I am new to jquery and please excuse if this is a stupid question. How do you get the list of selected nodes using selectable?? For example, there are 5 divs drawn on the screen and I want to know which div(s) are selected when the mouse is released from the drag. Thanks
DatePicker AltField Problem
Hello everyone. I've successfully implemented the datepicker plugin as an inline element that populates an alternate field. The PHP/MySQL back-end may or may not generate an existing date. If a date is set, it becomes the defaultValue for the plugin as well as the value for the input field. Otherwise, the defaultValue is the current date. The calendar itself is correctly moving to the selected date (if set), however the altField text input does not populate the value. The altField is a simple input
Getting value from a querystring
I need to check for a querystring value and then display a certain element based on that. I thought I cannot directly get it from jQuery code. So I created a hidden input box. Got the querystring value in it in the page load, then tried something like: if (hval_crevent.attr('value') = '1') { tab_crevents.show(); }But it doesn't work. How can I achieve this? Thanks.
dialog link disappears after onclick
hello, i have this code for a dialog box, <script language="javascript"> function dialog() { $("#dialog").dialog({ modal: true }).load("/;contact"); } </script> To contact us: <a id="dialog" style="text-decoration: underline" href="#" onclick="dialog()">Contact</a>this loads the contact form correctly, but the <a href> link disappears after i have made the click. what am i missing? thanks
What is up with this animate function?
I used this tut to make a horizontal accordion.. but are trying to extend it to hide and show content like this example..(click the black "knowledge" box and the sample will slide up) but eventho the setup should be the same for expanding and opasity there is a opasity "blink" when hover over the expanded element but no collapsing. So the espanding/collapsing setup works, but not the Opasity part? is it a var delaration issue? <script type="text/javascript" > $(document).ready(function(){ var
how to do a conditional append?
Hi, I am making a form where you can either upload images or link images and upload a video. The problem is that I want a or situation. I made javascript function that when you click one of the 3 images it will add in one item this could be a image link or uploaded image or a video. There is only one function that runs and inside that function has if statements to figure out which one image was clicked. I have 3 images one is for image links one for uploading images and one for uploading video.
Drop Down Disappears when combobox ( inside of drop down ) is used ( IE bug )
I created a drop down menu for my search bar on my website using JQuery / hover intent.. The drop down is activated by the user hovering over a button, and inside there are two combo boxes and a check box. If the user tries to choose an option in the combo box, the drop down disappears.. Chrome, Safari, Opera and FireFox are working fine, but IE7 + 8 have this problem I have uploaded an image of the drop down with the combo box, it is a print screen of it working in Chrome --> The second image is
just learned JQuery, ran into problems...
I have a SQL database that contains a stored procedure that'll output data to a XML file every 5 minutes. The data outputted is always changing, while the format always is same. I wanted a page that'd use AJAX to pull the data from the server, check for existing data that was already displayed on the page, if so, update the data. If the data no longer existed in the XML, the data would be removed from the page. If there was new data in the XML but wasn't displayed in the page, it'd be added to the
Jquery problem in ie6
This is my index file in joomla.... in ie6 i am not getting jquery worked... <?php /** * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for
Filter XML prior to display
I have a page that displays a list of printers and other info taken from an XML file, but I want to filter the list based on their speeds prior to them being displayed on the page so that only those within a specific speed range will display (e.g. "20-40", "41-60", "61-100" and so on). I'm new to Javascript and even newer to jQuery, so I need some help as to how to create a filter for that. Here is the structure of my XML file and here is my Javascript/jQuery so far for displaying it (also any suggestions
Why is jQuery running a newly delcared .click() in IE when it shouldnt?
I've run into this issue and I'm not sure why it's happening. I've created my own expander and collapser. The expander is initially collapsed, and its onclick is initially set to call the showRushee() function. When it's clicked, it does what it needs to do, unbinds its .click() event, and rebinds the .click() to execute the hideRushee() function. The same goes for the hideRushee() function, just setting it back to showRushee(). Makes sense right? Well, this all works perfectly... except for in IE.
$.get to Webservice does not return response
I am trying to get a response from a webservice, but it seems it cannot be parsed properly (this is the XML error; XML Parsing Error: no element found Location: moz-nullprincipal:{11c9829b-3cae-4d8d-bdfe-265c905cb82e} Line Number 1, Column 1:) $.get(linkWS, {}, function(li_data, li_status, li_Request){ callback(li_data, li_status, li_Request); }, "xml" ); In the Firebug response field I don't see any data at all. Can someone point me in the
Getting uncaught exception: Syntax error, unrecognized expression: #
Hi there, im using jQuery 1.4.2 with the jQuery-UI 1.8.5. After initializing the tab function and setting the new action attributes to all form elements i'm getting the: uncaught exception: Syntax error, unrecognized expression: # message $("#tabs").tabs(); $('#tabs').find('div').each( function(){ var id = $(this).attr('id'); $('#'+id).find('form').each( function(){ var action = $(this).attr('action');
simple play/pauze button using jPlayer plugin
Hello, I'm currently building a website that features quite a lot of songs per page. I am looking for the best solution for building a play button in front of the title of every song. I was using a flash object, but it turns out that too many different flash objects tend to make the page very slow and buggy in some browsers. There are allready some players but I'll be adding a lot more; like so: http://www.kevindecock.be/audio.html I noticed that some websites are using jPlayer to display a lot of
Click Show Mega Menu, gets stuck.... HELP
I have been working with some help from others on a layer which would appear when you hover over it.. Like so... (function($){ $.fn.dropDown = function(options){ var defaults = { menu:'' }, settings = $.extend({},defaults, options); return this.each(function(){ var $this= $(this); $this.hover(function(){ $(settings.menu).stop(true, true).fadeIn(200); }, function(){ $(settings.menu).stop(true,true).fadeOut(100)();
Finding out how dialog was closed
Hi everyone, I guess there's a simple solution to my problem but I just don't see it. I have a jQuery dialog with two buttons: ok and cancel. Now I want some code to execute ONLY when the dialog was closed by anything other than the "ok" button (escape key, cancel button, X). Is there a way to get the button that was clicked in the close event?
J query and moo tools and not working
Hey guys, I am having issue with j query and moo tool using them both. Need some help. i have use jQuery.noConflict(); but not working. J query script. <script src="scripts/jquery.easing.1.3.js" type="text/javascript"></script> <script src="scripts/jquery.kwicks-1.5.1.pack.js" type="text/javascript"></script> <script type="text/javascript"> /* Navigation silde effect */ $().ready(function() { $('.kwicks').kwicks({
Next Page