• Submit buttons on Nexus S Android

    Hello all, Happily migrated to Alpha 4 now and everything seems to be working quite nicely. However, I have 2 android devices a HTC Desire HD running Android 2.2.1 and a Nexus S running Android 2.3.1. I have a form which includes my button which has following markup like so:       <div data-role="fieldcontain">           <input data-role="button" onclick="$('#logonForm').submit();" type="submit" data-theme="b" id="logonButton" value="Logon" rel="external" />       </div>Now we've tested this on iPhone
  • Need basics of adding Flexigrid to web app and configuring it.

    I am very new to jQuery Flexigrid and almost as new to asp.net.  However, Flexigrid seems to perfectly satisfy a need my team has. In my VS 2010 new asp.net web application I have 3 Scripts\jquery-1.4.1* files.  I have spent a few hours on the web trying to find how to get from what I described above to a Flexigrid on my web app.  As I said, I was very new to Flexigrid.  A basic totorial would be a great help, but my searching has not turned on up. Thanks in advance, bigredweather
  • Listviews

    I think it's great jQuery uses text-overflow:ellipsis; in order to keep layout issues out, but in my case i want titles to be as large as possible. I've attached a screenshot to this post to show what i mean. I want my listview titles to be as long as possible and use linebreaks and it needs to be vertical-centered. I don't want to set line-height to 80px since i want linebreaks. Margin or padding doesn't seem to be a solution too, since some lists may have a short title on one line and some of them
  • Selector

    How can I select an element that start with a particular string and ends with another string. Thanks
  • jQM Alpha 4, where is the fileUrl?

    Hey, when I started on jQm A3 i parsed all the parameters depending on the fileURL on the Window Object set by jQM a3. Where has it gone ^^? is there s.th. new?
  • html email agent in a web page

    Hello. I'm new to JavaScript and jQuery. I play a little with J2SE, JSP-JSTL, JDBC ... I'm making a web site whose one page is dedicated to an email agent. Layout is ready in html. What is the usual way to implement this functionality ? I imagine ... - that the 'send' button packetizes every form field as a particular parameter of a request to be send to the mail server which is connected to my web server (by a hosting service). - that I need some JavaScript or jQuery to make possibly some field
  • jquery ui datepicker and tooltip problem

    Hi, Im trying to make jquery ui datepicker (show as calendar) working with ui tooltip. Everything is working fine, tooltip is showing until I change the month in calendar. Then tooltip stop to work. I dont know how to solve this problem and I will appreciate any help. Below is my code (I was using this script). Thanks! $(function() { var specialDays = {   '2011': {     '3': {       '10': {tooltip: "Some event", className: "holiday"}     },     '4': {       '15': {tooltip: "Some another event", className:
  • How do I reference the following for a secure connection?

    The following is a javascript file that I need held under a secure connection for when a customer is making a purchase on my site. http://cachedcommons.org/cache/jquery-jcarousel/0.2.5/javascripts/jquery-jcarousel.js How can I get this referenced under a secure connections? Thanks people
  • how to make disappear my <div> after a scroll to the top ? and reappear !

    Hello i have an image fixed on my page it's a link to scroll to the top i would like to make it disappear at the top and reappear when the scroll down ? my code is actually very light, have you a solution ? thank you very much <!-- scrolltop --> <div id="scrolltop"><a href="#top"><img src="./wp-content/themes/blueprint/images/gotop.png" /></a></div> <script type="text/javascript"> $(document).ready(function() { $('a[href=#top]').click(function(){$("html,body").animate({scrollTop:0},'slow');return
  • $(this+" ul not working

    I'm pulling my hair out of this one. I have developed a few jquery plugins, but of course the all fail when multiples of them. So to use, 'this' prior to each element call is needed, but I can't get it to work. eg: var Items = $(this+" ul li").size(); will not work. Hope someone can point me in the right direction! Markup and function here: <!-- START OF CHANGER -->     <script type="text/javascript" src="/structure/js/scripts/changer/changer.js"></script>     <script type="text/javascript"> $(document).ready(
  • Autocomplete events (.change) not firing

      Hello.   I am using the follow Autocomplete code on a textbox in my web page, and it is working well except for the events not firing.   I've tried change, selected, and a few others with no success.  Can anyone tell me what I'm missing?     <script type="text/javascript"> $(document).ready(function () { $('#tbOrganization').autocomplete('@Url.Action("LookupOrgs", "Utilities")', { dataType: 'json', parse: function (data) { var rows = new Array(); for (var i = 0; i < data.length; i++) { rows[i]
  • Is it possible to serve http content over https ? Jsonp doesn't seem to work for cross-protocol requests!

    Hello, My web page is served over https and within it I need to serve content that comes from a normal http service. I have tried to use an .ajax()  call with jsonp, but it would still throw a Security warning on IE that the content will not be delivered using a secure HTTPS connection.  So does jsonp only work if you serve https content over http but not the other way around? Is it any other alternative?  Thanks in advance!
  • css not applying to xml elements

    hi, I'm trying to import some xml code and append it to some dom element, using this... [code] $.ajax({ type: "GET", url: "resources/xml/sites.xml", dataType: "xml", success: function(xml){ $('body').append($(xml).find('text').clone().contents()) alert($('#lol').length) }, }) [/code] sites.xml is: [code] <?xml version="1.0" encoding="iso-8859-1"?>  <sites> <text><a id="lol" class="menu_a" href="www.google.it">ahuahauhauahu</a></text>  </sites> [/code] the correct code ( <a id....></a> ) is appended
  • How to bind a click event to a radio button?

    I am trying to bind a click event on a radio button.  The click event is not working but mouseup and mousedown is working.  Mousedown and mouseup work on a desktop browser but doesn't work on the iPad.  I am binding the event with the following selector right now on a radio button list: $('#list .ui-radio').live('mousedown', ...); What should I use in this case? Thanks,
  • multiple "collapsable <div>'s" in cookie

    if($.cookie("panelState") == undefined) { $.cookie("panelState", "collapsed"); } var state = $.cookie("panelState"); if(state == "collapsed") { $(".toggle_container").hide();  } $("h2.trigger").click(function(){ if($.cookie("panelState") == "expanded") { $.cookie("panelState", "collapsed"); } else { $.cookie("panelState", "expanded"); } $(this).toggleClass("active").next().slideToggle("slow"); return false; //Prevent the browser jump to the link anchor }); }); Hello, I use jquery for hiding/collapsing
  • Unable to start using JQuery with IBM RAD 7.5.5

    Hi,   I have been using JQuery from last 1 year with IBM RAD 7.0 as IDE and WebSphere 6.1 as app Server without any problem. Now my development environment is upgraded wtih IBM RAD 7.5 and WebSphere 7.0 server.   After writing the code in jsp within <JavaScript> tags as   <script type="text/javascript"> $(document).ready(function(){ {); </script>   i am getting the following error. The function $(HTMLDocument) is undefined   I have included jquery-1.4.2.min.js and even replaced with jquery.min.js.
  • JQuery include an HTML file and its fade out?

    Hello guys...! I'm a bit curious. how could we include an HTML file from jquery? Let's assume this story; Page 1:  Has a link (once clicked it will execute something) Has a div (extracted from what it read from step above) Page 2: Only containing some Html elements Such as Table only. Page 3: Only cointaining some image elements Showing loading Gif file. The SOMETHING that I mentioned are these; 1) Read Page 3 content to show the loading gif into the div. 2) After couple seconds, then The loading
  • Validator, message boxes wont hide - how to remove?

    Hiya, I have a complex web application that I'm struggling with.  Here's one of my problems.. I have a main DIV and the content is loaded, depending on what the user selects.  If the user selects the div that contains a form which I am validating using $("#myform").validator(); and it shows "please complete this mandatory field" against all appropriate fields.  It works fine, but here's the problem, if the user decides to cancel and do something else, like click another menu option and load the main
  • my book says download jquery 1.6.2 zip file , where can be found?

    zip contents: jqueryui -jqueryui1.6rc2 --_MACOSX --demos --tests --themes --ui -img -styles my book says download jquery 1.6.2 zip file , where can be found EXACTLY?
  • listview A4

    I just switched my project from A3 to A4 and noticed a change in style and behavior. Why don't list elements become active buttons anymore? <ul class="" data-role="listview" data-inset="true" >                                                        <li>                         <div class="ui-grid-a">                             <div class="ui-block-a">                                 <a href="#">Inhalt</a>                                 <p>Text</p>                             </div>            
  • jQuery.modal().close() ... ie9

    Hello! When I try to close the iframe modal window (only in the ie9) asks for confirmation: The web page you are visiting is trying to close the tab … if you click yes, closes browser. Someone could solve this problem? Thank you!
  • Using Tab widget to switch to another website

    Dear Community, I am new to jQuery UI and I wanna use the tab widget to create a horizontal navigation bar. As I understood by now, you only can use the tab widget to switch between different divs in the same website. You use #idOfTheDivYouWannaSee in the corresponding link. But instead of switching between the same website, I wanna switch to another URL by clicking a tab item: <div id="tabs>       <ul>             <li><a href=?modeId=1">Locations</a></li>       </ul> </div> Well, as a newbie I am
  • Use jQuery to find first word

    Hi! How can I find first word of the paragraph an then copy it? Second bit I've already work out, but could not find any example of finding first word. Regards,
  • Using jQuery tablesorter to sort all data from MYSQL

    I want to sort all data at the same time in my mysql query results. how do I do it? [code] <?php require_once('auth.php'); require_once('../config.php'); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <title>BTJ Finland Extranet</title> <link href="style.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="themes/blue/style.css" type="text/css"
  • Scrolling to the bottom of a DIV

    Hi - I'm grabbing some data (chat type application) from a web page (which just returns data queried from the database), and places it in a scrolling DIV element.  What I then want to do is scroll to the bottom of the DIV, so that the last conversations pulled from the database, are shown (in the same wasy as Office Communicator or Instant Messaging work).   My code below, just seems to scroll a little down the DIV and then stop - is there a way to get it to go to the bottom?   Thanks for any help,
  • jquery dropdown menu not working ie6

    jquery menu not working in my form drop down..for that ie6 .. This my menu.css file .. /**  *********************************************  * Prototype of styles for horizontal CSS-menu  * @data 25.01.2010  *********************************************  * (X)HTML-scheme:  *  <div id="menu">  *      <ul class="menu">  *          <li><a href="#" class="parent"><span>level 1</span></a>  *              <div><ul>  *                  <li><a href="#" class="parent"><span>level 2</span></a>  *            
  • need to be solved: ajax post is too fassst.... and the page redirected.

    Waah, wah, wah... I never realized that once I just putting in the jquery into my interfaces (jsp), it's going faster than ever...! I actually wanted to animate abit the button to be fadeOut once the button Login is pressed because i put that button inside of a form, I mean html form. But here, seems that the button fadeOut not completely, and it gets the response from the Ajax Post too fast... and it's redirected into another page (which is for this case; Go To Home) which in turns, I couldn't get
  • Disable "tap to toggle" fixed header and footer

    Hi everybody, Is there a way to disable the fade in / fade out effect on tap with fixed toolbar ? http://jquerymobile.com/demos/1.0a3/#docs/toolbars/../../docs/toolbars/bars-fixed.html Because when users scroll down or want to tap an element, footer and header disapear, and looks like it is bugged... Thanks for your help, Tom
  • $.post() asynchronous return value problem

    Hi, I am having problems with the $.pos() function returning an undefined value. I read somewhere that this is because the function returns the value before it gets a response from the server. I am not quite sure how to get around this... function addMediaCategory(name,parent_id) { $.post("addMediaCategory.php",{cat_name:name,parent:parent_id}, function(data) { if(data == "ok") {  return "ok"; } else {  return "error"; }     },"text"); } function callMediaAdd() { var returnVal = addMediaCategory("Cat1",1);
  • jquery date picker

    I am using jquery ui date picker ,When I place mouse over the next or previous  the image vanishes attached is the screen shot , please advice me what am I missing ?  
  • How To Improve This Tree Structure??

    Dear Friends,                    Here I Put The Link Of Simple Jquery Tree Model.. Kindly Read It And Give Ur Suggestions To Improve Myself And My Friends.. Thank u Guys..                                http://mediamilan.com/how-to-create-simple-tree-structure-menu-using-jquery-and-css/
  • jQuery has DATE PICKER combination, along 3 select boxes

    what to do in DATE PICKER to choose more than today date, or after two days than today, date ? May old dates[days] have an "x" to means can not choose? jQuery has DATE PICKER combination, along 3 select boxes [day select drop down...similarly mo, yr]?
  • weird problem with ui dialog any help please?

    hi, iam new to jquey ui, and iam facing  a weird problem with the ui dialog.. i created a div to use as a close button and it was working great but after some editing on the design what happened is when i click on the close div or some points of the dialog border the dialog shifts to the right and the div shifts to the left.. i attached a sample.. any help is appreciated .. thank you..
  • How to activate ajax-get injected html in jqm?

    Hi, in my jqm webapp i have the following problem: i want to refresh my data-role page very x seconds. the refresh itself works fine, but its not in jqm-style. here my index.php: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Test App</title> <link rel="stylesheet" href="css/jquery.mobile-1.0a4.min.css" /> <link rel="stylesheet" href="css/mymobile.css" /> <script src="js/jquery-1.5.1.min.js"></script> <script type="text/javascript" src="js/mymobile.js"></script> <script type="text/javascript"
  • Switch off color gradient within accordion?

    I use the accordion with "h6". There is a color gradient from grey to white at the bottom of the content within the accordion-content. How can I switch of the color gradient? How can I define a background-color or background-image within the accordion-content-area?
  • if/else question

    Hello, I have this simple question: - I want to make an if statement that looks for the value of a style Obviously I'm doing it in the wrong way: function myFunction(){         if($('.item').css('top','0') ){       //I mean: if .item has a top position of 0, do this.             alert('Item has a top position of 0');         }else{             alert('Item has NOT a top position of 0');         } } http://jsbin.com/ikewe4/edit Please, can I get the answer of those 2 questions? -What is the correct
  • connected sortable - how to reverse sort order ?

    I wish to use sortable connected lists, in a manner similar to the example at http://jqueryui.com/demos/sortable/#connect-lists except I want to reverse the default sort direction from top down to bottom up, so the items float to the bottom of the container instead of the top. How can I achieve this ?
  • Datepicker wont change dateformat.

    I have this code: $('input.datepicker').not('.hasDatePicker').datepicker({showAnim: "clip", dateformat: "yy-mm-dd"}); But for some reason the dateformat wont change no matter what I change it to. The animation changes though. Im not sure whats going on here.
  • Jquery Validation on link that have a "onclick function"

    hi, this is my first post on jquery forum. i have a form,  that send with a link, not with a classic submit button. jquery validation plugin work, but the problem is that the link have also a "onclick function". when i click the link "#carica", if the validation is OK, the form information are sended, but the "onclick" function doesn't work. this is the code: <form id="singularDemo" enctype="multipart/form-data"> <p>Immagine</p><div id="single"></div><br/> <p>Nome Prodotto</p> <input type="input"
  • script fout accordion effect

    hi everyone This is my first jquery effect. i want hide my paragraphs and show them when user choose to. 1 -  i have downloaded jquery uncompressed. 2 - i wrote in head: <script type="text/javascript" src="js/jquery-1.5.2.js"></script> <script type="text/javascript">     $(document).ready(function()         {             $('p#paragraph1').hide();             $('a#paragraphAnchor').click(function()                 {                 $('p#paragraph1').show(2000);                 })         }); </script>
  • 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