• Trying to streamline image gallery data input

    in my little homemade picture gallery i find it difficult to accurately put the information about each picture into the correct place in the HTML doc. each image is contained within a div, and i have dozens of them. each picture has data associated with it (title, finename, item #, caption, availability and cost), and each item has to go in the right place in the div. and i go bug-eyed trying to keep track of where i am while scrolling around. it would be nice if i could set up a table or an array
  • ui menu: how to use focus method

    I'm trying to use the ui-menu focus() method to set focus on a specific menu item on page load.  I'm getting the following error: Uncaught TypeError: Object #<HTMLDivElement> has no method 'find'  Maybe it would help if someone can confirm for me whether I understand the method syntax correctly.  Here's the example from the API: $( ".selector" ).menu( "focus", null, menu.find( ".ui-menu-item:last" ) ); If I understand correctly, I should replace ".selector" with the list container I wish to render
  • jQuery css does not correctly apply

    Dear Community I'm facing a problem with the css of the smoothness style. In the section of the Component containers I found the following piece of css: /* Component containers LN: 229 ----------------------------------*/ .ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; } .ui-widget .ui-widget { font-size: 1em; } .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; } Obviously, a ui-widget of the
  • How to refresh just one side of the page

    See http://myownmealplanner.com/mealplans/add/5 for the example If you drag a meal tile to the right side of the page then it should stay there after you click on <a href="/mealplans/add">Go back to list of meal tiles</a> but of course it doesn't because the entire page gets refreshed. I tried adding an anchor for just the mealplan tiles (like a back to top button) but still the entire page gets refreshed. I can't think of any way to do this with jquery, javascript or php. Any ideas? You're supposed
  • Grid doesn't work in dialog

    Hello, i have the following problem: - when i open a new jquery.dialog in which i load a jqueryGrid it works in the most cases, but not evertime. sometimes the grid is loaded grey, and every menu (switching sites, reload grid, searchbar) is unclickable, just the content is displayed correctly. can anybody help me please? sorry for any bad language or mistakes, I'm no native english speaker and new here ;) thanks a lot MR
  • Flexible Grid

    Hi Everyone, This is my first post on forum.jquery. I know this is the best place to discuss and start. Recently I have been assigned a project in which I require a Grid with the following function. 1. It should be selectable 2. It's background gets changed automatically (on the basis of database values) 3. The cell(s) should have contiguous selection and fire an event when selection stops. and likewise, So I wanted to know is there inbuilt grids api (Plugins) or do I have to start in a scratch???
  • Changed code around to allow options but wont work?

    I decided to format my code to a more "standard" and friendly version so I could create options that could be called up at anytime within the HTML documents. Check this JS Fiddle document. You'll see it won't work, but for the effort of my life, can't figure out why. Depending on jQuery only. Working before hand using just Variables: http://jsfiddle.net/ScwbP/5/ Re-written but not working: http://jsfiddle.net/FxKFG/2/ Many thanks if anyone can clear this up. Totally lost in the code right now. Also,
  • Disable Initial scroll to top

    Is there any way to disable the Initial scroll to top when jquery loads ? It's fine most of the time but other times it is unwanted.
  • I could not see the 'date/event of submission'

    Why I could not see the 'date/event of submission' message when I submitted my order in i.e? (The problem appears when I choose Hebrew date/event. In English I could see the date/event that I chose. webeedesignstudio.com
  • How to pass mouse events to an iframe

    I am needing to use jQuery UI in a child iframe of my host page. My issue is that drag operations work poorly if the users mouse travels outside the child iframe and into the parent. If this happens the mousemove events or mouseup event are no longer sent to the UI control. I have solved this with my own GUI functions by simply having the parent pass these events to the child for processing but with jQuery UI I do not know how to pass these events through properly. In the sample below I show my failed
  • Where/What is _refresh()

    Actually this is a Problem for me. I need to control values in a Spinner. I created a table, populated it with <input> and converted the inputs to spinners. I also set min and max values. So far, so good. When one clicks the Up & Down icons, everything works just fine. When there is keyboard input things start to fall apart. The Max value does nothing, I am also using a step size of 5. I get the value and subtract the mod 5 (% 5)  value then put it back, it doesn't go back. Both clamping to max and
  • jQuery Button Slide Down Animation is pushing the other set of buttons??

    the buttons in the homepage are pushing the other buttons, any one has an idea on how to make the buttons slide over the other ones and not push them see my website file at my google drive https://docs.google.com/folder/d/0B-C0T_-acxRqeDBEOWpSdWZYYUU/edit
  • Database to use with JQM and Phonegap

    I am building an app using Phonegap and JQuery Mobile. However, I am confused to which database plays well with both of them... Any suggestions...
  • Sorry, a duplicate topic (can be removed).

    Sorry, a duplicate topic.
  • image drop down -> select -> new image appears with additional text drop downs

    i'm in the process of creating my photography website, and i want the option to have an image drop down, which i've seen many of, but once an image is selected, i want a large image to appear in the middle of the page, and drop down options to appear next to it so a customer can order a print. my question is, is there a simple modification i can make to an existing jquery image drop down, or is this an entirely new thing? this has most likely been made, so a link would be appreciated to the code
  • jquery gallery image replacement question

    perhaps i should be in the beginners section, i am not sure. i'm making some progress with jq, and have set up a little image gallery. i have thumbnails on the left, and when one is picked, a larger image of it appears at the right. i am using show and hide divs, and with 1 exception it works fine. i have set up the code so that when a new thumb is picked, the old large image fades out (hide slow) while the new large image fades in (show slow). it is neat simultaneous effect. the only problem is
  • Swapping DIV class, not working

    I am trying to build a simple FAQ type of list with a twirl down arrow on each main item. I got the data for each item to hide/unhide but am having trouble getting the arrow to twirl. Any ideas? My HTML <div class="comparison-content">      <div class="item">           <div class="title">                <div class="arrow-right"></div>                <a class="link">First Item on the list.</a>           </div>           <ul class="data">                 <li class="subitem">First information</li>  
  • Trying to access JASON object

    Below is a somewhat complex JASON string. I am having problem accessing the data within the object. function tryThis(){   var test= { "term0" : { "PrincipalTranslations" : { "0" :{ "OriginalTerm" : { "term" : "grin", "POS" : "vi", "sense" : "smile", "usage" : ""},  "FirstTranslation" : {"term" : "faire un large sourire, arborer un large sourire, sourire de toutes ses dents", "POS" : "vi", "sense" : "en montrant les dents"}, "Note" : ""}, "1" :{ "OriginalTerm" : { "term" : "grin", "POS" : "n", "sense"
  • toggle wrong?

    The docs for toggle appear to be the wrong way round.. .toggle( handler(eventObject), handler(eventObject) [, handler(eventObject)] ) handler(eventObject)A function to execute every even time the element is clicked. handler(eventObject)A function to execute every odd time the element is clicked. .. or perhaps I've had too many mince pies..?
  • Can't call refresh on listview prior to initialization

    I'm stepping through the examples in Pro JQuery.  The content appears to be good, although there are numerous listings with small syntax errors.  I've gotten to one that has more than a syntax problem. The following is a small excerpt from the example: <script type="text/javascript"> $(document).ready(function() { $.getJSON("data.json", function(data) { $('#flowerTmpl').tmpl(data).appendTo("body"); $('ul').append($('#liTmpl').tmpl(data)).listview("refresh") }) }) </script> If you have the book, or
  • Set cursor to pointer on all rows in a particular table

    I'd like to change the mouse cursor to a pointer for the rows in a particular table but I'm not having any luck getting it to work.  Here are some of the things I have tried, but the cursor resolutely refuses to change for me:                 $("#firmtable tr").hover(function() {                     $(this).css("cursor","pointer");                 }, function() {                     $(this).css("cursor","default");                 }); $("#firmtable tr").css("cursor","pointer"); Nothing I have tried
  • Jquery for mobile devices disable

    Hello, I use jQuery UI components. Through the use of jquery UI unfortunately the website is on mobile devices no longer possible. Is there a way to disable jQuery for mobile devices. Thanks for advice. Regards Silvio
  • Dynamic Page in 1.2.0 refresh change page start

    http://jquerymobile.com/demos/1.1.1/docs/pages/dynamic-samples/sample-reuse-page.html http://jquerymobile.com/demos/1.2.0/docs/pages/dynamic-samples/sample-reuse-page.html Click listview (Animals or Colors or Vehicles) and refresh page (F5) 1.1.1 no change 1.2.0 change page start I need not change page start in 1.2.0
  • Change Multiple DIV's content on Single drop down value

    Hi, Am trying to change the content of Multiple DIV's based on drop down values .I did it for single DIV , it work for me But for Multiple, am not getting solution for this. Here Actually am passing different XML Data based on Drop down values. This is for Graphs.   Below is link what I tried , Js Fiddle Thank You
  • how to create the notification for android with SDK PhoneGap

    Hy, Please i want to create the notification dynamically  in my application android , I develop with SDK phoneGap,  how can I do? Thank's
  • Dialog position will not move

    I'm trying to change the position of the dialog when it displays. This is my code: $(function(){$( "#Untimely" ).dialog({ position: { my: "right top", at: "center", of: "#Input" } });}); I've changed the position to { my: "center", at: "center", of: window } but nothing moves it. The dialog only stays at the top left of the window. The only time it has moved is { my: "right", at: "center", of: window } and it moves right off the page. Any help would be greatly appreciated. Thanks Ryan
  • how can i prevent the jumping of browser to the top of page in following code?? can i use jquery in following code anywhere??

    html >> <form action="update.php" method="post" name="myForm"> <input type="text" name="term" placeholder="Enter MemberID here"/  >  &nbsp;   <input type="submit" value="  search  " name=search class="button_samll round orange"  /> </form> >>update.php <?php $con = mysql_connect('localhost','bank','1234');  if (!$con) {  die('Could not connect to MySQL: ' . mysql_error());  }  mysql_select_db("bank",$con); if (isset($_POST['update']))  { $updatequery="UPDATE customer SET customer_id='$_POST[customer_id]',rdate='$_POST[rdate]'
  • How to use Jquery slider in Wordpress?

    I want to use Jquery slider in my sidebar. Please help me how to add jquery plugin in wordpress Twenty ten theme. My side bar width is 220px. I don't know much about jquery so please anyone can write a whole code for me and tell me where should I put it to get slider in my sidebar. My site URL is plussizesavvymom.com
  • Animation question to professionals

    Hello all, I have a little general question about to handle two animated pages which I’d like to combine. For I am a relative beginner this time I’d like to hear some advice and ideas BEFORE I start programming what I have in mind. If you’d have the patience to take a look at the 2 html in action (yet very unfinished, but as I said I would want to become clear on which basic way to succeed): http://www.stefanseifert.com/Adobe_Edge_Tests/Gucci+.html http://www.stefanseifert.com/Adobe_Edge_Tests/Givenchy_Lab.html
  • selected tab, help

    I'm trying to fire a function on a selected tab. <script>  $(document).ready(function () {             $("#tabs").tabs({              show: function() {                 var selectedTab = $('#tabs').tabs('option', 'selected');                     $("#<%= hdnSelectedTab.ClientID %>").val(selectedTab);                     },                         selected: <%= hdnSelectedTab.Value %>                  });  $("#g_view").click(function()  {  alert("tab 2 selected"); });         }); </script>    <div
  • remove() and hide() only work for the items of first dynamically created collapsible

    Hello friends, I'm creating a mobile multi-page with dynamic content. When the page is loaded, the groups (blue collapsibles in below picture) are loaded from a database with an ajax-request. Then when a collapsible is clicked and expanded, the content of that specific group is loaded with ajax-request. And when the X-button is pressed, that list item is deleted with an ajax-request + remove(). The problem I'm facing is that remove() and hide() only work with the items in the first collapsible-group
  • Jquery mobile select box can work only once

    this is my screenshot from my website. Question: when i click  firstly number 1 select box, then this seclect box works. but when i firstly click number 2 box, then click the number 1 box, number 1 can bot be opened.  i dont no what's wrong. I need your help this is my coed as follows: <form action="" method="post"> <div data-role="fieldcontain"> <select  multiple="multiple" id="chFleets" data-native-menu="false" onchange="selected()"> <option>Choose FZG by Problem</option> <option value="letzter
  • the value changes in the sending

    hi, When I send a value to another page, if this value with spaces or special caractaire, these becomes %20 example :        before sending : ABOPO PK 18       after sending : ABOPO%20PK%2018 two pages with <meta charset="UTF-8"> Code first page  $("#LiElmSelector").live("click",function(e){ var gData = $(this).attr('index'); $(location).attr("href","pharmacieListe.html?" + gData ); }); Code second page var idSet =  document.location.search alert('rr :'+ idSet ); idSet = idSet.replace("?",""); Tnx
  • Difference between preventdefault and stopPropagation.

    Well I understand the preventdefault meaning. Its work is to prevent the default action of the event. But I could not understand what stoppropagation does? The documentation of stoppropagation uses the word bubble up. What does it mean?
  • Is this expected behaviour in append?

    I think it is expected, but post here just in case... I am getting an error when using append. If I am appending data with an ampersand it errors. However, it doesn't do this all the time. The error is on line 6325 of jquery.js, when the data is passed to innerHTML. If the mimetype of the page is text/html, the data is xml escaped automatically. If the mimetype is application/xhtml+xml, it doesn't and gives an error. I have some sample code below. Unfortunately it doesn't give an error in the console
  • Syntax help

    Hello, Im ...attempting... a second ajax call within the success function of the first. The first on is type:json. The second is type:jsonp.  The chrome debugger is throwing "syntax error "("". But i cant find it. Everything looks good to me. I wish I could find a good eclipse plugin or editor, I spend a lot of time trying to figure this stuff out. var ceix = $("#scceix").val();                             var dsts = $("#scdsts").val();                                 $.ajax({                    
  • reset form

    Hi Everyone, Below is my javascript for the form I have. Some of the functions showed are not being used because they were taken out of the form due to not being needed. However, I do need to have the "Reset" button function right and don't know the proper function for it. Can someone please help me out by showing me where it goes in my script. I am javascript/jQuery illiterate so please be specific. Thank you so much in advance.  <script type="text/javascript"> $(document).ready(function() { $('#register').validate({
  • beforeLoad firing in tab widget when content loaded from cache interfering with "Loading..." text

    I am using version 1.9.2. of jquery-ui-tabs. I want to set some Loading... text when beforeLoad fires. But when I do this:       $('#tabs').tabs({             cache: true,             beforeLoad: function(event, ui) {                 return $(ui.panel).html("Loading...");             }       }); once the cache hits start the beforeLoad code and the component's reloading of the cached content interfere with each other and the content never gets reloaded (the "Loading..." text remains. When I turn
  • Icon only buttons not working with "ui-btn-left" or "ui-btn-right" css class

    What I get is: What I was hoping for is (but with buttons on right side and on same line, like above picture): Here's my code (I am using a ThemeRoller theme, without modification).  I am using jquery.mobile-1.2.0. <div data-theme="a" data-role="header">       <div class="ui-btn-left" data-role="controlgroup" data-type="horizontal" data-mini="true">              <a href="#" data-role="button" data-rel="back" data-icon="arrow-l" data-iconpos="notext">back</a>       </div>       <h3>            Test
  • Debugging wordpress plugin

    Hello, I got problem with debugging plugin: Plugin is calling by: <script type='text/javascript'>       jQuery(document).ready(function($){             $('#cfw').CustomFacebookWall({                          id:'BizuteriaMagia',                                                                                                                access_token:'377526185663419|i3Th376FkoAcOsJQREkybMfIeo8'              });       }); </script> I used: jQuery(document).ready(function($){ Because when I using:
  • 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