• JQuery Validate not working for Safari

    Hi there, I am using the JQuery validation plugin and it works fine for Chrome, however, it does not work at all for safari. Are there any solutions? Ryan
  • Learning resources: Dialogs and asp.net formviews

    Can anyone recommend any learning resources concerning asp.net formviews and dialogs?  I'm having to learn by scavenger hunt and it feels like I'm stumbling in the dark. Here is what I have been able to piece together so far: I can define a dialog that contains a div with a formview (connected to a sqldatasource). I can open the dialog by selecting a row in a gridview, with the intention of editing the row in the dialog formview. But here's where I'm stuck in the mud: when I click "update" null values
  • Issue with jquery ui Dialog Modal

    Hi, I have a form with radio , checkboxes and buttons form fields. Then I invoke a Modal window, It is showed perfectly, but If I Mouse over or navegate over tabs, The form elements of the "opener" appears over the modal "child" overlay. I ve modified z-index property, but nothing. See the print screen : http://sia1.subirimagenes.net/img/2014/01/27/140127112543813724.jpg Im using  jQuery UI CSS Framework 1.8.18 . Thanks for any help !
  • Code for text box precision . . before Dot 3 Digit and After Dot 2 digit . . it's working fine in Google Chrome But in IE 10. . How to solve tis???

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="test7.aspx.vb" Inherits="test7" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server">     <title></title>     <script type="text/javascript" src="Scripts/jquery.min.js"></script>     <script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>     <script type="text/javascript">  
  • jquery ui datepicker

    i had used contact form 7 with ui datepicker the problem is datepicker has an inline style having z-index equall to 1.how do i change the z-index means from where
  • I have problems with cookies

    Hello everyone!!! I'm starting with jQuery and specially with cookies. As a test application I'm using a nested list with a collapsible effect created with jQuery. The effect is working fine and now I'm trying the next level which is save the state of the list between reloads. For this I'm using cookies (jquery.cookie.js) but there is something strange that I can't understand.  The cookie is been saved in the browser but I can't get the value after reloading the page.  This is how my code looks like:
  • Pass object to plugin options

    I can't for the life of me figure out how to do this. I've got two plugins that I'm trying to get to work together. In one I set the cookie and perform various actions (I'll spare everyone the code of the other functions). In the second file I get the users location and perform various functions on their location. My problem is that I need to set the cookie in plugin one but my cookie name will change it's not always going to be profileColor is there a way to pass options somehow into the other file
  • JQM 1.4.0 with jQuery core 2.0.3: problem with listview refresh

    Hello, I tried to change the attribute (data-theme) of a list item in a listview dynamically, once the user has clicked on it. Firebug shows me that it is in fact changed, but the UI refresh did not happen, although I tried all trigger events, refresh commands etc. that I knew. There is an example of the intended behaviour in http://jsfiddle.net/Palestinian/AFfw9/ This example works well with old jQuery Mobile and jQuery core versions like JQM 1.3.0 + JQ1.9.1. But I do not get it to work with JQM
  • Hi all

    Hai everyone. I am new to this forum. You can also share your latest experience with us.
  • Hiding/showing HTML table rows in mobile version

    We have a desktop site where we hide or show HTML table rows on a button click based on what class a <tr> is.  The jQuery below is in a script file included in the display page: Display page code: <tr class="parentHeaderRow"> ... ... <tr class="parentHeaderRowHidden"> $('#rowShow').click (function() {     $("tr.parentRowHidden").css("display", "");     $("tr.childRowHidden").css("display", "");     $("tr.grandchildRowHidden").css("display", ""); }); $('#rowHide').click (function() {     $("tr.parentRowHidden").css("display",
  • jquery ui sortable multi version problem

    Hi, I'm using jQuery 1.7.2 and higher version and implemented sortable functionality.Which is working fine. But when I include in my Richfaces application . It was not working. Got to know that it was taking 1.3.2 version of jQuery. Used noConflict() also. But problem havent resolved. Please help me out.Thanks in advance
  • Presenting kind of graph from DB

    Hi all, So I have to present some information from DB. It looks something like this:   So I have some objects with (x,y) and then they are sometimes conected to neighbors, by Blue, Red-Blue or Blue-Red line. My question is do you guys have some idea, or sugestions how I can present it. I would like to have object also clickable, so I want to use ajax for sure for that, but I can't find good solutions for main problem how to present them?
  • Conflict Jquery ModalxAutocomplete editable DDL

    Dear,I researched how to make an editable ddl on the link: www.codeproject.com/Articles/290218/Custom-ASP-NET-Editable-DropDownList I follow exactly the example and meets my needs, but appears conflict when I try to use it in a form that already have several jquery modal `s that I call in my form. For my modal function takes the following libraries (I'm naming each listing .js) (1a listing of.js): <link href="css/jquery-ui.css" rel="stylesheet" type="text/css" /> <script src="Scripts/jquery-1.7.1.min.js.js"
  • My Experience with jQuery Mobile so far...

    Hi everyone! After spending hours and hours studding and implementing an app with jQuery Mobile, I can say it's a great framework to standardize the user interface to several mobile platforms. Although it's not perfect, having some issues to bypass, it's possible to develop great apps with it. In Brazil we have this sort of saying: "If giving an advice was a good thing, we wouldn't give it, we would sell it." This being said, I have some pieces of advice to give for those who wanna learn jQuery Mobile:
  • Delete confirmation Dialog

    Hi All, I am new to jquery and really struggling for setting up confirmation dialog box for deleting certain items. I am able to view the popup but when I click DELETE on the popup its not redirecting or loading the new page but staying on same page. I am using Jquery mobile 1.3.2 version. Any assistance to resolve this would be very helpful. Below is the sample code I am using. <body>    <div data-role="page" class="type-interior"> <?php include "files/header2.php";?> <div data-role="content" data-theme="d"
  • Selecting all options from a multiple select on form submit doesn't work

    Hi, I'm trying the following JSFiddle: http://jsfiddle.net/a8qaC/1/ My problem is that the values of the second select: "#select2" doesn't get selected on the form submission. It only works well in Chrome 32, but not on Firefox 26 nor Internet Explorer 11 So you can reproduce it as follows: 1) Select all options form the first select (#select1) 2) Press the "add >>" button 3) Deselect all values from the (#select2) 4) Press the "submit form" button The desired behavior is that all options on #select2
  • jQuery, jQuery UI or jQuery Mobile?

    We have a website that uses jQuery and jQuery UI. We use slider bars on site, and as I recall at the time the site was coded, not all jquery widgets worked across all tablets/mobiles OS. We used a plug-in called jquery ui touch punch, which gave us the functionality we needed, however I came across "jQuery mobile" which supports deskstops throught to phones. I'm a little unsure where this products fits in the jQuery family - is it a replacement, supplementary etc. Anyone have any advice, or link
  • $.ajax does not work in Windows8.1 WebView

    hello dears:    I am working on Windows8.1 WebView with $.ajax to get local file system.    My project has xml, resx, csv, html etc resource file.    xml or html is worked find in $.ajax but resx, csv file is error in $ajax.   this.webView.Navigate(new Uri("ms-appx-web:///html/index.html", UriKind.RelativeOrAbsolute));    $.ajax({            url: 'Resources/re.resx',  // => NG     //url: 'Resources/re.csv', // => NG     //url: 'Resources/re.xml', // => OK     //url: 'Resources/re.html', // => OK
  • jQuery UI Tabs via Ajax -- Recommended way of preparing panel content

    The sample in this site does not show how to pepare a panel content exept for preloaded content. There could be several ways I can think of, someting like:     (1) complete html format which includes tags of doctype, html, and every thing,     (2) html format without tags of doctype , html, and head, or     (3) html format only includes content itself. I wonder what is the recommended way for preparing panel content, because I have experienced some probems in either way. In case of (1), there happened some 
  • toggle div fails

    If a visitor on my site selects a value in a selection box, I want it's corresponding div to be displayed. If the visitor selects an other value, I want to hide the old div and display the new div. The coding I have so far doesn't work properly.. the first and last select options don't display the div at all, and the second select option only flashes the div. I hope someone can help me out.. PS: The Option1, Option2 and Option3 values are being pulled from my db, but these values can have other names.
  • Validation - PO Box OR Address (multiple input controls)

    Here's the code: if ((jQuery('#OwnersPoBox').val() == "") && (jQuery('#OwnersStreetNumber').val() == "ie. 301") && (jQuery('#OwnersStreetName').val() == "ie. Jefferson") && (jQuery('#OwnersStreetType') == "ie. Street or St")){    alert('Please enter the owner\'s po box or street address');    jQuery('#OwnersPoBox').focus();    return false; }     if (jQuery('#OwnersPoBox').is(":disabled")){         Return = ValidateItem('OwnersStreetNumber', true, "Please enter the owner's street number.", null,
  • set a value to textbox

    I'm trying to set value of texbox with name "Pay" to 0. But it doesn't work. What is wrong? $(document).ready(function(){ $("button").click(function () { $("input:text[name=Pay]").val(0); }); });
  • jquery

    Hi ,     I have two text boxes , as Start Date and End Date  Getting Dates by using two Date pickers. So My Requirement is Such that , my start date should be not be future date . means not tomorrows Date should not be accepted?
  • cannot access prev html tag in Jquery

    hi i have code like this http://dpaste.com/1568849/ question is how can i access prev of td selector of value="fird0s" ? thanks :)
  • Using a var in an input tag

    How would I use a var in an input tag as in: <input id="zoom" name="zoom" type="range" value="myVarHere" min="0" max="25"/> Thank you. Edit: This seems to work:             <div id="divzoom" data-role="fieldcontain" >              <input id="zoom" name="zoom" type="range" min="0" max="25"/>                         <script>                     $("#zoom").attr("value", zoomlevel);                 </script>             </div>
  • Instead of INPUT >> GET value

    I need a little advice on how to modify this javascript code: HTML code <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <label for="kwd_search">Search:</label> <input type="text" id="kwd_search" value=""/> <table id="my-table" border="1" style="border-collapse:collapse"> <thead> <tr> <th>Name</th> <th>Sports</th> <th>Country</th> </tr> </thead> <tbody> <tr> <td>Sachin Tendulkar</td> <td>Cricket</td> <td>India</td> </tr> <tr> <td>Tiger Woods</td> <td>Golf</td> <td>USA</td>
  • .data Method: Storing Class Attribute Values and Restoring Them

    Total newbie to jQuery. I have a set of <span> elements, each of which has the @class attribute with multiple values. I have several functions that allow users to change the CSS of the <span> content in various ways. I want to provide a "Restore" button that sets every <span> element back to the @class settings it had when the page loaded. Here's the code I've got to this point: 1. Iterate over each <span> and store the @class value in the element's .data collection:  $( document.body ).click(function()
  • help updating dw cs 6 with 1.4.0

    hi i hope some can help here with this. I have try to up date dw cs 6 with the new 1.4.0 files i un zip the file then copy them a cross to the right file then i open dw the started a new jquery site had a few fun thing happen but i got it to see the new files. Now i did not get delete jquery 1.6.4 min as i do not know what this does but dw still ponts to it in the code what is happing is that when i try live view it not working it just show the all the page as if it was a html page i have put a pic
  • How to display error login message on dialog after spring validation

    Hello to everybody! You are my last chance. I ask this question on few forum and have no answer yet. My issue is how to display login error on the login dialog after I validate the user in spring security. index jsp:     <div id="dialog">         <div id="tabs">             <ul>                 <li><a href="#login">Login</a></li>                 <li><a href="#register">Register</a></li>             </ul>             <div id="login">                 <jsp:include page="login.jsp"/>             </div>
  • set maxDate to specific date

    Hi, I would like to ask how can I set the datepicker maxDate to a specific date. Itried the following: if (GetQueryStringValue('id') != "" || GetQueryStringValue('id') != null) { maxClosing = new Date(<?php echo date("Y", $max_closing_date); ?>, <?php echo date("m", $max_closing_date); ?>, <?php echo date("d", $max_closing_date); ?>); } else maxClosing = "+90D"; but although my #max_closing_date is 2014-04-19, I am getting  the maxClosing when id is set as: 1970-01-01 like this: if (GetQueryStringValue('id')
  • disply raw xml, tags and all

    OK, so I need to open up an XML file and copy the contents into a string and display as is, with the tags. What do you think can we do it? Crazy? Perhaps, but I just do what they ask. I thought I could trick the interpreter by putting quotation marks around the data, but I get "[object Object]" when I do that instead of [object Object]. Not that tricky I guess.  I guess I will have to stick everything inside some <pre> tags eventually too. $('#display-xml').click(function(){                 $.ajax({
  • what is the difference between .stop() method and "queue:false" property?

    i am pretty confused with this that .stop() is used to stop the current animation.....Queue is used to allow callback functions to execute or not? why it is used prectically??
  • Close menu after click. Is possible?

    Hi, is possible close menu after click? Carlo
  • Jquery HighCharts

    Hi ,      I m Using Jquery Highcharts for Visualization in my application.  But When for X - Axis when i Have Categories More than For eg Say More than 50 It Gets Overlapped ? I have Enabled the Scrollbar Property then to When X - axis Data Category is Huge Gets Overlapped . please let Me Know ?
  • search text box

    how to do search alphabetically Alphabetical (i.e. select ‘B’ and get a list of all company names beginning with letter ‘B’)
  • Real issue with radio buttons (losing style)

    Hi, New to the forum and have been using JQM a little over the past few months. I have an issue with Version 1.3.2 with radio buttons and styling. I have a set of radio buttons on my page that the labels and values are populated dynamically.  When I first open the page I see everything as expected, however if I later return to the page (and try to populate with new dynamic data) the radio buttons don't have the 'select circle' and appear smaller and "flat". Here is my fieldset:   <fieldset data-role="controlgroup"
  • Security with Jquery

    Hi; How can I hide Jquery code from my html so hackers can't see the code? For example this code: <script type="text/javascript"> function view_more(id) { $.post('http://flatmates.com/more_ads/index'+id, { id: id, csrf_GCFEL: 'acc8b6cc5e1cac4d5e246bda2c065214'},function(output){$('#short_list').html(output).show();}); } </script>Thank you
  • Passing parameters as string in ajax call

    I have a javascript method which contains an ajax call: function MyFunction(urlTask, task) { ... ajax({ url: urlTask, data: task.Params, type: 'POST', dataType: 'json' }) ... } urlTask is the name of a method in the controller (asp.net mvc 4), it varies depending on some conditions. As a example, it can be Task1, Task2,...: [HttpPost] public ActionResult Task1(string Param1, string Param2) { } [HttpPost] public ActionResult Task2(string Param1) { } Each controller method has a different number of
  • Google calendar api

    Hello, I am using Google calendar on my website and it is working fine. In this URL I included "max-results=10" which displays a maximum of 10 events on my website. Now I like to add "max 10 days from today" to it so it will not display events after 10 days.  $.getJSON('http://www.google.com/calendar/feeds/' + 'mycalendar@gmail.com/' + 'public/full?' + 'orderby=starttime&' + 'sortorder=ascending&' + 'futureevents=true&' + 'max-results=10&' + 'singleevents=true&' + 'alt=json', Is this possible to
  • forcing screen to update after jquery changes an element.

    I have some jquery code that changes an element at intervals.  It uses "setTimeout" to run a function every 1.5 seconds that changes the contents of a textarea.   In this example, my code tries to fill the textarea with "one", then waits 1.5 seconds, then fills it with "two", then waits 1.5 seconds, the fills it with "three".  But when I look at my screen, all I see is "three".  I can understand why the screen would not refresh in the middle of a jquery function, but I'm using "setTimeout", so some
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of