• jquery Autocomplete not working

    I am using jquery  jquery-1.4.4.js and  jquery.ui.autocomplete.js.  My code is as follws but there is no  autocomplete pop up appearing.   <script src="@Url.Content("~/Scripts/jquery.autocomplete.js")" type="text/javascript"></script> <p><input type="text" id="tags" autocomplete="on"/></p> <script type="text/javascript"> $(function () { var availableTags = [ "ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", "Clojure", "COBOL", "ColdFusion", "Erlang", "Fortran", "Groovy", "Haskell", "Java",
  • How to set multi-selectable as default mode

    Now we can press ctrl button to multi-select Selectable interactions.   Is there way to set  multi-select Selectable interactions as default mode. we don't need to press ctrl key to get it.   Thanks   Tim
  • jquery.jparallax.js vs 0.9.1 with jquery.fancybox-1.3.4.pack.js using jquery 1.4

    I seem to run into this problem quite often.  When combining some plug in's (in this particular case  jquery.jparallax.js vs 0.9.1 with jquery.fancybox-1.3.4.pack.js using jquery 1.4) the conflict things seems to rare its ugly head.  I'm not sure I understand why some plug in's conflict with others or what I need to concider for I get any more bright ideas about using multiple jquery plug in's to work together.  What is the best method for trouble shooting jquery conflicts and/or getting multiple
  • Selecting multiple elements and storing them in a variable

    Hello, just a very basic question. Have a div (id - photos) with multiple images.   1) Does this select them all? $('#photos img')  2)If so, how can i capture this information? Like so -> var bunchOfStuff = ($('#photos img'));    and 3) if so, why can't i do something like alert(bunchOfStuff.length)      I realize there is something incredibly basic I just don't understand yet, but I can't seem to figure it out on my own. Thanks in advance  PS - sorry if formatting sucks - I can't figure out how
  • Mask function

    I am able to call the mask function to mask my phone number etc in specified format. Unfortunately my database has only 10 chars for phone number so when I do insert it fails. My question is how can I get only the value back in postback instead of getting masked characters as well?
  • Problem with dialog demo code

    I'm extremely new to jQuery, although not new to javascript in general. I'm trying to use the UI dialog widget. I've downloaded a .min.js file containing the dialog widget and a few others, and already have the core .min.js. I copied the demo code directly from the UI doc for modal form and pasted it into a plain html file. Clicking the button does not work; nothing happens. Also, the form that's supposed to be displayed in the dialog shows at the top of the page. Can anyone tell me if there's something
  • How to select code ???

    Hi, I am trying to create my own gui editor on how to reposition and delete html elements on a page. My question is can jquery select all html and javascript code associate by the id or name of the element of the html code. Lets say I  have 150 images and want to delete image 40. I name all images element followed by the number out of 150.  That way the code will select  everything in the website that touches element40.  This includes javascript and the html tags. It can delete the tag  or edit it
  • What if element is not available?

    Hi together! On different subpages, there are div's that i want to talk to via jQuery. Now i am wondering if it could make problems, if i let jQuery Commands in the file, but the div's are not available at this moment? For example, i have this code: $("#success").dialog({       autoOpen: true,    modal: true });What if the div with the id "success" is not available? Cheers, Max
  • Create Horizontal Dropdown Child Menu that Holds on Subpage

    Hi Themesters I need to create an Horizontal Dropdown Child Menu. There is a great post here about how to achieve this and I have been following it: http://themeshaper.com/forums/topic/create-horizontal-dropdown-child-menu-that-holds-on-subpage#post-7432 It works. But only partially for me. When the submenus are activated by hovering or clicking the item with children, then the menu items next to the 'activating' one clear to the left and drop down to the next line. Any idea on what I am doing wrong?
  • JQuery full page slider.

    Anyone knows a tutorial that illustrates this effect? www.bulamu.net When someone clicks a link, the page glides/slides to reveal another page. it's pretty neat! i would LOVE to know how to pull it off! Thank you
  • How to clone the html text by using right click of the context Menu?

    as title, is there any way to clone certain html text by right click the context Menu?
  • Accordion not working?

    The problem is that it's just not working. I don't know jquery very well, I'm using it to finish up this site I've been working on. anyways here is the code: This is the <head> code referring to it.     <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title> Marnee Music </title> <link rel="stylesheet" href="style.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/jquery1.5.11min.js"
  • media plugin windows 7

    Hi,   I have recently found out that some of my implementation with the jquery media plugin from 'jquery.malsup.com/media/ ' fails on windows 7. Everything still works on Vista.   Ex. http://www.honeycore.se Click on video in the right side, then on a image thumbnail.
  • iphone safari default to homepage on safari load

    Hi - I have a jQmobile app running on iphone safari. It works fine but when I close safari and then later reopen it it resumes at the 'page' where I last was within the app. This is obviously reasonable from a browser point of view but I would like the web app to behave more like an native app and when safari is re-opened for it to somehow recognise that fact that this is a new 'instance' of the web app running and automatically return to to the 'homepage' of the web app. Hope that the question makes
  • validate: validation and fullcalendar conflict

    Hi, I'm using validation plugin and others like fullcalendar; all is ok except one thing: it seems that validation plugin conflicts with fullcalendar plugin. I explain better the problem: I'm using jquery ajax http calls (GET and POST) and so I generate the content of my principal div by clicks on site menu. When I access to a page that uses validation plugin and after to one with fullcalendar this one doesn't populate with calendar events received with a JSON array. I load validation plugin in the
  • Page Transition and Address Bar

    Hi, I am working on my first jquery mobile project and am having an issue with hiding my address bar when a new page is loaded on my iphone...basically, it isn't happening. I have tried  <meta name="viewport" content="height=device-height,width=device-width" > but that stops landscape mode working. Here is a link: http://iamphiljames.co.uk/test/absorb_mobile Can anyone help?
  • Error console -> syntax error

    Using: Firefox 4, jQuery 1.5.1 min When I click on front_item the content in front_container updates with contect which is in test.txt, but Firefox 4 -> Web developer -> Error console says If I write <p>Test bla</p> it works without error. Even if I change dataType to text and $(id).text() it's the same. So there must be always something like <something>My content</something>? Error: syntax error Source File: file:///E:/test1/test.txt Line: 1, Column: 1 Source Code: Test bla test.txt Test bla <div
  • distinguish between sorting same list and connected list

    Hello i want to distinguish between a sorting in a list itself or when an item from a list is placed in another list: <ul class="connectedSortable">   <li>Item 1</li>   <li>Item 2</li> </ul> <ul class="connectedSortable">   <li>Item 1</li>   <li>Item 2</li> </ul> The problem is that the list are dynamic so now there are two ul's and tomorrow it could be 5 or 4 etc I am not able to distinguish if a sorting take place in the same ul or if a li item is moved to another ul when using a class connectedSortable.
  • Load adverts

    Hello, I need to load adverts on each page. Thus, I enumerate all containers with the ads class and write and execute (in order to write the advert in the good container). (ajaxEnabled is true) Here's my html : <div data-role="page" data-theme="a" id="asm-home">     <div id="asm-homeheader" data-role="header">           <div class="ads" data-ads="top"></div>     </div>              [...] </div> Thus, for the first loaded page, everything works. But, when I change page, the javascript  code displays
  • Stuck! Please help!

    Hi! I'm new to jQuery and I need some help to figure it out. When the page is fully loaded for the first time, click on the first tab (profile) and you'll see the problem: it wants to load the menu-item again. All I want is that when it first loads the page, it already knows it is in loaded state.  Thanks in advance! http://bit.ly/gLilCo $(window).load(function(){   $('#page2').delay(200); $('#page2').show('slow');    $('#content>dd').css({display:'block'})   $('#thumbs').jScrollPane({    showArrows:false,
  • How to load form result in the same window?

    Hi, I would like to know if it is possible to load form result in the same window after clicking the validation button. I know this method that load elements from the server on the current page after changing an input value. ( Using methods: change() and load()  ) http://forum.jquery.com/topic/load-function-is-not-working-with-datepicker-input Is it possible to do same with forms, and which methods to use? Thanks :)
  • how does jquery/jquery mobile decide on which transition to use?

    Hi, is there a way to specify which transitions are used when calling the history.go or history.back/forward methods? thanks Matt
  • Re-creating jquery-ui elements after xhr update

    Hi all, I have a function (createButtons()) which executes on document.ready, which selects button elements and creates a jquery UI button, and attaches an event handler for the click event. This all works until I update the part of the page via an ajax call. The buttons returned in that aren't being detected by the original createButtons() function. Adding a call to the createButtons() function in the ajax updaters success function doesn't re-initialise the buttons. Is it possible to do this? Thanks
  • javascript in a transitioned page

    Hi: When a page do a transition to another (and use the location.hash stuff ...) , this second page does not load any javascript How can I execute javascript when a page is loaded (if this one "comes" from a transition from its parent) ? Thank you
  • jCarousel question - execute the codes only before the next button is click

    I have implement jCarousel onto my website, my jCarousel has 8 items on each page, when user click "Next" button, then jCarousel will display item 9 until item 16. I want to execute a certain codes only when jCarousel is displaying item 1 to item 8. In other word, I want to execute the codes on 1st page only. In other word, I want to execute the codes before click the "next" button. How to do that? I not sure which 1 should I use? Should I use itemFirstInCallback or itemVisibleInCallback or buttonNextCallback?
  • How to retrieve a Json object value using Jquery

    I have  a Json Object n  wanna select  one row based on id and name my testObject  contains below data "{"id":"1","name":"Apple","isVisible":false}" "{"id":"2","name":"Orange","isVisible":false}" how to retrieve it effectively using jquery.I have tried for loop .But it gives memory leak(page is expired) If anyone have idea,please share some hint/code
  • $.get method having limitation of no of call

    Hi I am using jquery ajax of $.get method for calling data in javascript. but when there is multiple call of function. my page get reloaded. can anybody solve my problem thank you Prem
  • calling a function - selector problem

    When I trigger .thumbnail:hover span CSS, i want to do a function that shows the .overlay class. Here's what I have and i does NOT work. Any help?? Thanks in advance. Script: $(document).ready(function(){         $('.thumbnail:hover')(             function() { $('.overlay').show() });                 });CSS: --- start css --- /*POPup Image*/ .thumbnail{ position: relative; z-index: 0; } .thumbnail:hover{ background-color: transparent; z-index: 50; } .thumbnail span{ /*CSS for enlarged image*/ position:
  • having proble in ie6 please provide the solution i am

    link to problem please provide the solution
  • Input text field validation

    Good day! Guys.. i need your help again.. i don't understand this structure.. i know its for email validation, but how the line 1 works? and also if JQuery has this function?     if (!/^[A-Za-z0-9_\.\-]+\@([A-Za-z0-9\-]+\.)+[A-Za-z0-9]{2,4}$/.test(         document.forms[0]["email"].value)) {         alert("Please enter a valid e-mail address.");         document.forms[0]["email"].blur();         document.forms[0]["email"].focus();         document.forms[0]["email"].select();         return false;
  • JQuery Form Uploading file problem

    Hi, right now I'm facing a situation when uploading a file using Jquery Form, I've never being able to reach the success property/action and when the file finishes uploading it tries to show some information of the incoming page with no success, eventhough I dont mind showing some response what I would like to do is a file upload to multiple destinations, that's why I'm concerned on the success property being reached this is what I'm doing <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  • Seaching date by jquery datepicker

    Dear all, I have problems to search date by date picker date. I can pop out the jquery datepicker when I click the submit button, the submit button isn't work. How to solve the problem? If the button cannot click, then I cannot pass date from client side to server side and do searching function. Who knows how to solve it?
  • basic math in form fields

    Greetings, I'm having a problem with something that should be simple. I have a form with two text fields and a check box. If I put a number into the first text box I want it to be copied to the second text box.  If I tick the check box I want the number in the first text box to be divided by 12 and put in the second text box. Thank you.
  • Mobile Streaming

    Can jquery be used for streaming live from a smartphone with a 3G connection?
  • can the framwork insert too many doms to the mobile device?

    I read through the docs and demos, and got to know that jqmobile framework keep inserting loaded doms to the first page, so my question is  if any possibility that the device browsers are not capable of handling so large a page? mobile devices are more and more powerful, but they still use mobile processors, and many tabs can be opened in android browser, so I'm think if I need to delete some pages so that the latter ones can be loaded. Thanks,
  • Long list within a bounded area

    Hi all, I'm really getting there using jQM, but I have a problem: my page has a top area and a bottom area, and a long list between them. I used absolute positioning on the top and bottom divs, set a height on the ui-content area, and scroll auto, but it simply does not scroll. Is there any ideas on how to make the list scrollable?? Cheers,
  • Need a jquery ajax hack for safari

    I got an issue with safari and this ajax holder that i got on my website, the ajax holder is a menu with alot of jquery animations and 2 lightbox(s) with about me info and contact form. the ajax holder is simular to this below http://www.javascriptkit.com/script/script2/dropdownpanel.shtml could someone plz help me with this problem because im not the 'hackee' type when it comes to web browsers. the ajax holder works fine with IE (weired), chrome, firefox, opera its just safari thats giving trouble.
  • navigational highlight based on url hash not working.

    Hey guys, can't quite wrap my head around why this doesn't work.  Pretty self-explanatory, but it grabs the hash (#lofts), chops it and adds the extension (lofts.php) then goes through the navigation, looking for an anchor with an href of lofts.php to add a class to...No class being added though. $(function(){ $page = window.location.hash.substring(1) + '.php'; $('#project_navigation ul li a').each(function(){     var $href = $(this).attr('href');     if ($href == $page) {         $(this).addClass("current");
  • Asynchronous Autocomplete Echoing

    Situation: Using a web service to provide the autocomplete results, the normal behavior of autocomplete, is that someone initially posits a smaller query, and as they type into the field, the query grows.  This has the effect of reducing the size, latency, of the network service response, as result size shrinks. Effect: Because there is no check as to response went with which request, the autocomplete display sometimes renders more results than it should (in this case FILO).  Usually the requests
  • What is a good way to emulate a "flash" notice?

    I want to put a notice when a user action is successful or not at the top of the screen. However, I need the message to persist only until the user moves to the next page. What is a good way to do this?
  • 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