• how to add id value in tree menu

    hi, how to add a id value in tree menu because my problem is to populate context menu for each menu in tree view i would be greatful if give any sample code or example Thanks Regards G.Lenin
  • mcDropdown jQuery Plug-in - version 1.3.2

    Recently we did upgrade from MVC2 to MVC4 and updated the mcDropdown 1.2.x to  1.3.2 But when we launch our application we got error "operation aborted" on IE 7, we did some analysis and found in mcdropdown 1.2.07 added following line to add the list to body.   $list         // move list to body -- this allows us to always calculate the correct position & width of the elements .appendTo("body") We are using @Html.DropdownList on cshtml page, which is trying to create dropdown before Body tag closed.
  • Re-direct script

    Hi, I am getting an issue while searching the contents in the iPhone, it is not re-directing to the mobile site but re-directing to full site.. For Example: 1. When I do a search for "acupuncture" on my iPhone and click the link, it should take me first to the mobiles website and not to the Full website. 2. I need to have "View Full Website" on mobile site so that when i click the link, it should take me to the Full website. Below is the code which i have given inside the <head> tag on "index.php"
  • Insert Text in div in a specific position

    Hello ,    I have a Div and button in page .    In the Div there is a text "Hello world" .    The user open the page and set the cursor between "Hello" and "World" . When press on button , I need to set any text between two words .     How Can I do that by jQuery
  • Datatable Sorting Image not coming Properly

    Hi All, I have used datatable 1.8.2 version in my application. I initialized $('#AMSListTable').dataTable(). Its working fine. But Images (Asc and Desc) are supressing. Its not displaying fully. Please help me. Pls find the below datatable Css for sorting: .sorting { background: url('../images/sort_both.png') no-repeat center right;color:Green } .sorting_asc { background: url('../images/sort_asc.png') no-repeat center right ;cursor:pointer;color:Green;margin-top:800px;padding:500px 0 0 0;top:800px}
  • Tree View with context menu with different menu item

    I want to populate different menu item using context menu in tree view This is my tree view data: var data= [ { "id": "1", "parentid": "-1", "text": "CCA" }, { "id": "2", "parentid": "1", "text": "CCA 2007" }, { "text": "NICCA 2007", "id": "3", "parentid": "2" }, { "id": "4", "parentid": "1", "text": "CCA 2011" }, { "text": "NICCA 2011", "id": "5", "parentid": "4" } ] Here i have to show context menu based on text for example , i am right clicking on CCA 2007, Here menu
  • moving elements

    Hi, I have a list of div like this : <div class="item" id="item1">xxxx</div> <div class="item_detail" id="item_detail1">xxxx yyyy zzzz</div> <div class="item" id="item2">xxxx</div> <div class="item_detail" id="item_detail2">xxxx yyyy zzzz</div> <div class="dropzone"></div> <div class="item" id="item3">xxxx</div> <div class="item_detail" id="item_detail3">xxxx yyyy zzzz</div> <div class="item" id="item4">xxxx</div> <div class="item_detail" id="item_detail4">xxxx yyyy zzzz</div> <div class="dropzone"></div>
  • jquery tabs freeze

    http://gogostyle.it/prodotti_tabs.php?categoria=tenda&style=Classic%20STYLE Can anyone tell me why tabs with sizes (140x280. 60x240 etc) freeze after a while? I used easytabs and gallerific. The problem occurs after several clicks on tabs and product Especially when you select the product for the top row slider.
  • I am using jquery-mobile-datebox ,I got a issue while upgrading new version of JQuery

    " TypeError: Result of expression 'b' [undefined] is not an object." the error shows like that, Upgrade JQuery versions jquery.mobile-1.3.0 jquery-1.9.1.min jquery.json-2.4.min Thanks
  • How to get option id in select box using jquery ?

    Hi All,   Please any one help to get option id in select box using jquery ?   Example if i will select same4 option i have to get one alert box it will show id of same4 option i.e 4. How we can do it .Please any one give reply <select> <option id="1" value="same">same1</option> <option id="2" value="same">same2</option> <option id="3" value="same1">same3</option> <option id="4" value="same">same4</option> </select>   Thanks, Nazeer  
  • Noob Question Passing Variables / Arguments to a Function

    Hello, I am sorry it has come to asking real folks about the one thing I just cannot seem to find a clear answer for when using jQuery. When I generate links on a page how to I use the contained arguments with a jQuery function. I dont know how I am missing it. I have been through a heap of tutorials but nothing seems to cover it specifically. For example: In the good old days I used to just have a link with an onclick what would send things off to the appropriate function:  <a href="#" onClick="myfunction('log1.txt',
  • Tabs Embed HTML Page That Contains Javascript Best Practice

    Hello,  This is my first use of jQuery UI and I was really happy with how easy it is to get the Tabs up and running and loading external html pages. I have read that, as the tab includes the entire linked document make sure that you exclude the html, title, body, head tags etc and only include what you want shown in the html file. I was hoping someone could tell me the best practice for including javascript that will be used on these pages. The scenario I am faced with is that I am using jQuery UI
  • How can I lock the Web-App screen so it doesnt move when someone touches it.

    Hi  The web app screen moves when you touch the screen,(iphone) i want it to be locked and stay solid, so users can touch and drag the elements inside the screen instead (right now the whole page/browser starts to move). It feels like the browser is being dragged.  Thanks...in advance
  • confirm input both with button and enter key

    with button its clear: onclick but how about enter key confirmation of text in input field?
  • image not show

    I find a problem.I have two page. one is main.html, two is detail.html. Fist of all,the listview of main.html is generated by ajax and every entry of listview link to detail.html. After opening  detail.html by click the list entry ,then I click the back button of detail.html to return to the mail.html.At this time, the images of the main page are not displayed.By the way,these images in the head area and main.html(data-dom-cache=true).I do not know if this is a bug. thanks.My browser is chrome
  • JQM 1.3.0 listview mobile scroll behavior on desktop

    I need a mobile-like, inertial touch scroller for use on a desktop and mobile app.  The desktop app is on a touch screen, so I want the mobile scrolling applied to it as well. (no visible scrollbar). I have a Panel on the left that contains a listview. <ul id="loclist" data-scroll= "true" style= "overflow: scroll;"  data-role="listview" data-autodividers="true"    data-inset="true"  data-filter="false" data-theme="c"></ul> How do I force mobile behavior when the page loads into a desktop browser?
  • Add custom element in list splitview

    Hi, I'm trying to add and element in list splitview which is having two anchor tags . When i tried like this <ul data-role="listview" data-split-icon="gear" data-split-theme="d" data-inset="true">     <li><a href="#">         <img src="../../_assets/img/album-bb.jpg">         <h2>Broken Bells</h2>         <p>Broken Bells</p> </a>         <a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a> <div>Custom Text</div>     </li>     </ul> the custom div(one
  • Style select box dropdowns with custom scrollbars

    I basically have exactly the same question as this one years ago! https://forum.jquery.com/topic/recommend-a-plugin-that-can-style-select-box-dropdowns-with-custom-scrollbars It was never answered and I still can't find an answer now.  In short, I need a plugin to style a select box, as well as a plugin to style the scroll bar.  Or preferably one that does both.  I was trying to use SelectBoxIt and jScrollPane but the two don't seem to work together.  I can't seem to find any that might?
  • Google Maps formatted_adress put in an array

    i want to put formatted_adress(google map) in an array, but it works not, var x =0: $.each(data, function(a, b){ var degerler; degerler = new google.maps.LatLng(icerik.Yer.Latitude,icerik.Yer.Longitude); geocoder = new google.maps.Geocoder(); geocoder.geocode({'latLng': degerler}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { if (results[1]) { //now i want to put this formatted_adress in an Array var arr[x] = results[0].formatted_address; ++x; }//end Results[1] }//end
  • JQM 1.3.0 Panel -overlay crashes browser on Android 3.2

    When data-display is set to overlay, the browser crashes.  When set to push, it is fine.  Could very well be my code since I'm new to JQM.  I'm fine with using push, but I thought I should post this anyway just in case there is a solution. below is the code. Thanks, Don <div data-role="panel"   id="locpanel" data-display="overlay"  data-theme="c"> <div class="panel-content"> <p> <ul id="loclist" data-scroll= "true" style= "overflow: scroll;"  data-role="listview" data-autodividers="true"    data-inset="true" 
  • jquery form validator not showing Arabic letters correctly

    im trying to use a jquery form validation, and i want the validating text to be arabic. the problem is that when i change that phrase in the .js file, it shows squares instead of arabic letters. this is my js file:' $(document).ready(function () { // Place ID's of all required fields here. required = ["name", "email", "country", "message", ]; // If using an ID other than #email or #error then replace it here  email = $("#email"); errornotice = $("#error"); // The text to show up within a field when
  • Setting or changing globalize International (24 hours) Standard Time format

    How can I change the globalize.js to accept/work in a 24 hours format? It seems that some one started to work with it but didn't finish. I would like to contribute with the development of it, if could see how it works. Thank you.
  • JQuery simply won't work.

    I have tried with at least 5 different editors, with Chrome, Safari, Firefox and IE. I have tried many different permutations of JQuery code, but it still won't do anything- it won't work. What on earth am I doing wrong? Here is a copy of the html (the script is inside the html):  <!DOCTYPE HTML>     <head>         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />         <title>let's see if this works</title>         <style type="text/css">          div{          background-color:
  • superimpost higher contract on select option made readonly

    in order to make select option unclickable, you need to turn it into readonly. this however reduces the contrast of this element and its content (the option menu goes greyish). can this color change be undone or prevented?
  • [solved] replace id with a single variable

    http://jsbin.com/ikugiy/6/edit the id (president) is repeated several times. is there a neat way to replace the id with a single variable ?
  • bad display of linked listview items on Win8 phone

    I just had a first look at a jQM website using a Windows 8 phone and it looks BAD. The big thing that I noticed was that the linked listviews items (<ul data-role="listview">... <li><a href="#">...</a></li>... </ul>) get all bulky and ugly. You can see below how the right arrow drops down to the next line instead of being all tidy off to the right, and there is lots of padding and/or spacing Meanwhile, on an iPhone it looks just fine: This code is copied straight from the "Linked" section (sec. 3)
  • jquesy css issue

    hello i have an issue related to a jquery plugin im using, plugin is nivoslider problem is on page load the slider is in the upper top off the page but when u reload the browser (firefox in this case) it is correctly positioned, can u help my positioning issue. http://www.con-cor.com/sitemap224.htm note i didnt create the page was just supposed  to fix it and this got me stumped.
  • JQueryMobile MVC4 - Import iPhone and Android Contacts/Calendar

    Hi All,   My architecture:   Backend:  NET 4.0, MVC4, C# Frontend: jQueryMobile,  Javascript, HTML/HTML5, Razor Engine   Controller/Actions use .cshtml files to serve up Web Pages.   Is there a way that I can access iOS & Android Contacts and Calendar using some type of API callable from Javascript.   Thanks, Joe
  • ?Two success variables?

    Hello, Is it possible to have two success variables in the ajax call? Thank You
  • problem retrieve parameter url

    Hello, I'm trying to retrieve a URL parameter in a PhoneGap application with jQuery Mobile. From the link: <li id='menu_list' ><a  href='index.html#detalle?web='xxx'></a></li> From the page as I try, how I can get up that parameter? $('#detalle').live('pageshow', function() { alert ("pageshow");             var id = getUrlVars()["web"]; alert(id); });
  • IP blocked from jQuery.com

    Hi All, I've never been able to access jQuery.com from work before. I noticed this probably about a year ago. I would really like to be able to use the site without accessing via a proxy. I've spoken with the ISP who assure me it's nothing being done on their side. It's not a DNS issue because I can successfully resolve jQuery.com to 70.32.120.34. If I try to access either the domain, or the ip in a web browser, then it simply times out. If I try to ping either the domain or the IP, the same thing
  • Confusion of "Anything" vs "Object" in documentation

    What is the distinction between type "Anything" vs "Object" in documentation?For example: The args in deferred.resolve( args ) is Object. The data in .on( events [, selector ] [, data ], handler(eventObject) ) is Anything. Can we just use one name if there is no real different? I can make a pull request if you agree using only one of them.
  • codeigniter jquery's autocomplete not working but no error

    Hello All :D I am newbie in jquery, i tried to use the autocomplete but i got a problem.  This is the link : http://stackoverflow.com/questions/15744214/codeigniter-jquerys-autocomplete-not-working-but-no-error Thanks :D
  • How to use 2 different jQuery functions on Same control?

    Hi All,       I have 2 jQuery versions. One is to expand text area and other is for spell check. when i try any 1 at a time it works fine. But when i use both versions at same time then it dosen't work. Following is the code.   This code resizes text area control.  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" />            <script type="text/javascript" src="jquery-1.9.1.js"></script>                  <script type="text/javascript" src="jquery-ui.js"></script>       
  • Sequential XML filtering?

    Hey all, I'm trying to sort XML data by attributes on separate lines of code, because I'm going to be inserting some if statements and more logic to the sorting (that's why I'm not just checking for all the attributes on one line). However, my code just returns empty, even though I know my XML is valid, there are items that meet the criteria, etc. Here is the snippet of code I'm struggling with: Feel free to look at the code in action here: http://ajaxtest.walletwallets.com/ajax10.php Thanks for
  • [FIXED] bind ajax call to click event

    Hi, I came to post my question here because i'm desperate. My problem is that I need to track the slide (Up/Down) of a panel. The panel has <span> row on it, if you click on it slides up/down. here is my code: $("body").delegate('span[id^="iconReplie_"][class="openPanel"]', 'click' , function() {       var id = $(this).prop('id');       id = id.replace('iconReplie_','');       console.log('click on iconReplie');       $.ajax({             type : "GET",             url : getContextAppli()+ "tracePlanningOperations?"
  • Is there a better way to do this? Wire up/destroy events on mouseover/mouseout

    I have several "widgets" displayed on a dashboard. When a user hovers over each widget, a "footer" band is revealed in which there are icons to represent options such as "refresh", "settings", "bar chart", "line chart", etc. The hiding and showing of this footer region of each widget is done with CSS.   I currently use $('.widget').on('click', ...) to wire up the click events to each of the options in the footer and it works. My question is, can this be done more "efficiently" or "better"? I was
  • Remove link when on the same page

    How do I remove only certain elements inside an tag, not all of it (like unwrap() does)? For instance I have: <div id="container"> <a href="#page1" class="link" id="page1link" onclick="return false">1</a> <a href="#page2" class="link" id="page2link" onclick="return false">2</a> </div> <div id="page1" class="page"> stuff </div> <div id="page2" class="page"> stuff </div> When I'm on page 1 (I fade out/in pages when clicking the link, so if I'm on page1 then page2 is invisible) I'd like the "1" to be
  • jQuery, php, MySQL without refresh

    Hello all. I've found this tutorial http://www.youtube.com/watch?v=8wUu7pWBygY, that basically does what i want, but, i have a problem... this is nice for a single field validation, but, for example, if it was a registration form, with multiple fields for validation: new login, check if exists in DB or not, email, check if exists in DB or not, and more, this tutorial don't work... can anyone please point me the way to a good solution? Ideias?! :D Ty!
  • mouse over effect while rolling the image

    Hi All, please look at this link, mouse over effect I want to do exactly this type of over effect while rolling(mouse over) on image, that shows new big image with the position of the mouse. How can i do that. Thanks in advance, Ankit
  • 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