• Disable theme for jQuery UI?

    I haven't used jQuery much lately but I've used the tabs on many active sites. When I built them I was using jQuery UI with no theme , but the sites are now loading a default theme that's completely disrupting my custom styles for the tabs. I've searched exhaustively and can't find any version of jquery-ui.js that doesn't load jquery-ui.css as well and can't find any way to get around the default styles. How can I completely disable any external theming without manually overriding each style in my
  • Ayuda con "consulta" SQL en buscador con JQUERY, AJAX Y PHP

    Buenas queridos jqueryqueros. Les comento que tengo un input buscador, que consulta los datos de una Base de Datos y este usa Ajax. Todo funciona bien para aquellos que tienen permiso como "Administrador". Mi problema reside en reutilizar el código .js y hacer otra consulta para los que tienen permiso de usuario "Gerente". Aquí envío el código completo que funciona bien para Administrador: Marqué con texto azúl las partes que creo que habría que modificar redactar.php: -En esta página está el formulario
  • HTML5 audioplayer works very well except in safari?!

    Hello to everyone! I have created an HTML5 audioplayer. It works very well across all browsers except SAFARI. what might be the reason? I would be very thankful to a hint or link.... I have googled but havent found anything. $(document).ready( function () { $( '#playPauseBtn8' ).on({click: function (){ var audio = new Audio( 'aud/mymusic.mp3' ) audio.play(); } }) }) < audio id ="audPlayer8" class ="audPlayer"></ audio >          Thank you very much! L. 
  • ajax() data, can only pass parameters as string

    function db_query(id) {     $.ajax({            type: "GET",         url: "db_handler.php",                   data: { row_id:id, foo: "bar" },         dataType: "html",           success: function(response){                                      // ...         }     });    } Hey guys, what am I doing wrong here? In my php script I receive the variables passed as strings, but I'm unable to read them when they are passed as variables. $_GET output: Array ( [foo] => bar )
  • How to work around this resizable limitation?

    Please refer to the following jsfiddle:  resizable limitation My intention is to have textareas that have widths that scale with the resizable dialog containing them.  However, I also want the textareas to be able to be resized vertically with resizable. I figured out that because resizable depends on $().outerWidth() for setting its initial pixel widths, the element that resizable is applied to must be displayed when resizable is initialized if the element has a % based relative width .  (Otherwise
  • Pause jQuery slider mousehover

    hi everyone, I'm trying to insert mousehover pause and mouse leave resume on my slider. can someone help me? resource: http://www.substellar.it/ex/index-slider.js
  • Bubbling issue - Need Help

    Hi I have below HTML Markup,   <ul class="list-unstyled" style="float:right;">                             <li class="dropdown">                                 <a href="#" class="dropdown-toggle" data-toggle="dropdown"><strong class="caret"></strong>&nbsp;Report</a>                                 <ul class="dropdown-menu" style="position:relative;">                                     <li>                                         <a href="#" id="mis" class="cl-mis" target="_self">Miscategorized</a>
  • Generating a tree structure using xml

    I have xml which generates dynamic.I want to populate the tree structure with the nodes name.The node values also ges populated in the left pane. The xml is in this format. <Root> <node1> <key name="a"> <item>111</item> </key> </node1> <Root> Tree structure Root node1 a Values ofkey 111 in the right pane On clicking on tree structure it must display the respective value in right pane.The tree structure is collapsble and expandable. my html is <div id="compare-contentleft" >                 <div id="treeView">
  • Using JQuery in Windows 8.1 Desktop App

    I need to help about CSS problem in Windows 8.1 Desktop App with JQuery Mobile... I test the application in all platforms android, ios and windows phone8 everything is okey. However when I test it on Windows 8.1 OS desktop some pages css crashes or not render properly. So, what can be problem or what I need to use for the desktop application. I am new on this platform so I was confused. If someone developed before JQuery and Windows 8.1 Desktopl App. plase write me what is the problem or what is
  • Autoselect dropdown with jquery

    I'm trying to autoselect the USA option in the selector on this page - http://www.thexbrace.com/pages/sizing However, I'm unable to pass the trigger on to the second dropdown menu.  How can this be accomplished?
  • Grid was not fit into my screen correctyl

    hi I use a Grid in to my screen but it was not fit in to my screen correctly belew is image  please help me and my jsp page code is: <!DOCTYPE html> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible"
  • Jquery pairing of items

    I want to implement a paring system using list and jquery. Excel Fields DB Fields Mapping email name email+emailId address emailId >> empId+empcode name empcode (ADD PAIR) empId address << (REMOVE PAIR) In the above example when I select items from both(Excel Fields,DB Fields) list and click ADD PAIR it should show the pair under Mapping list and the corresponding items should be removed from respective list. When I select a item from Mapping list and click Remove pair it should remove the item from
  • Defining custom breakpoints/steps in a range slider

    Hello all -  I'm not terribly experienced with JQuery so I thought I'd ask for help.  I need to create a range slider with a min and max slider.  Common stuff.  The slider in this example is for Income.  I can define steps or break points of $10k easily enough so that the slider breaks at every $10k interval.   However, I need to define custom, non "linear" breakpoints for the slider.  In my scenario, I need to acquire income levels anywhere from $0 to $250,000 and I need the break points to be: 
  • How do I find the offset of the bottom of my screen?

    How do I find the offset of the bottom of my screen?  Suppose I sometimes display a DIV with a high z-index that overlays part of my screen.  And suppose sometimes part of this DIV is too low, and so can't be seen.  I want to scroll the main page lower, so that the overlaying div can be seen in its entirety. To do that, I need to know 2 numbers - the current y-position of the bottom of the main page, and the current (hidden) y-position of the bottom of the overlaying div.  What properties would I
  • Div over another div

    Is there a solution: if a fixed Div comes over another div, for example, that the fixed Div I give a different color.
  • reading content from a additionel file with div id

    Hello, I've twoo files. The first one is here. <!doctype html> <html> <head> <meta charset="UTF-8"> <title>Inhalte per Ajax nachladen</title> <style type="text/css"> div {     border: 1px solid #ccc;     padding: 25px; } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script>     function kb_source_2_target() {         $.get('source.html', function(data) {             $('#target').html(data);            })     } </script> </head> <body> <h1>Inhalte
  • Add background color to ul li

    hello i have a ul <ul>       <li><a class="facebook"  href="javascript:void(0);"><i class="fa fa-facebook"></i></a></li>       <li><a class="twitter"  href="javascript:void(0);"><i class="fa fa-twitter"></i></a></li>           <li><a class="linkedin" href="javascript:void(0);"><i class="fa fa-linkedin"></i></a></li>       <li><a class="googleplus"  href="javascript:void(0);"><i class="fa fa-google-plus"></i></a></li>     <li><a class="pinterest" href="javascript:void(0);"><i class="fa fa-pinterest-p"></i></a></li>
  • How to limit JQuery selectable-helper's range?

    I have a Table with JQuery's selectable feature.My Table was selectable each **td** which are in the same column. Below is my full html     <html>            <head>             <link href="/css/jquery-ui.css" rel="stylesheet" type="text/css">             <link href="/css/schedulerGrid.css" rel="stylesheet" type="text/css">             <script src="/js/jquery-ui.js" type="text/javascript">             <script src="/js/jquery.js" type="text/javascript">             <script src="/js/schedulerGrid.js"
  • Facing problem with jQuery AJAX

    JSPPage_1: <form id="myForm">       <select id="sub" name="sub">             <option val="1">1</option>             <option val="2">2</option>             <option val="3">3</option>       </select>       <select id="month" name="month">             <option val="JAN">JAN</option>             <option val="FEB">FEB</option>             <option val="MAR">MAR</option>       </select>       <input type="button" type="submit" id="go"/> </form> <script type="text/javascript"> $(document).ready(function(){
  • countdown plugin

    hey guys im trying to use the jquery countdown plugin but it's not displaying correctly. timestamp : 2015-09-06 04:00:00 and it shows: 0 Days 03 Hours 11 Minutes and 40 Seconds remaining can anyone tell me why please? $('#timestamp').countdown({ until: $(this).text(), compact: true, layout: '{dn} Days {hnn} Hours', description: ' remaining', onTick: function(periods) { $(this).countdown('option', 'layout', periods[3] > 2 ? '{dn} Days {hnn} Hours'
  • Uncaught TypeError: $.widget.extend is not a function when using JQuery UI 1.11.4

    I am going to upgrade JQuery UI to 1.11.4 from 1.8.17 in my project. But I got the error when loading page: Uncaught TypeError: $.widget.extend is not a function I saw this error in Chrome -> Console. In original page, JQuyer 1.6.4 and JQuery UI 1.8.17 are used. After upgrading JQuery UI to 1.11.4, I got the error in $.Widget.prototype. Please refer to picture below. Is JQuery UI 1.11.4 compatible with JQuery 1.6.4? Any other coding or configuration needed to fix this problem? Thanks.
  • Need help with simple syntax issue

    This works to display a number in an input box...   $("#tang1").val(TANGwidth.toFixed(2)); But I need to add text before and after the displayed number but can't figure out the syntax. No examples anywhere I looked. I can't even get it to display text alone. I need something like this...   $("#tang1").val("some text" + TANGwidth.toFixed(2) + "more text"); To display this: "The width of the fin tang is 2.25 inches" Please help. Thanks, ---Frank
  • Autocomplete retrieve label value

    Hi, I have a form like this :  <form action="ecrire.php" method="post" enctype="application/x-www-form-urlencoded">                     <input type="text" name="destinataire" id="destinataire"  /> <input type="hidden" name="id_destinataire" id="id_destinataire"  /> </form> <script type="text/javascript"> $("input#destinataire").autocomplete({ source : function(request, callback) { var data = {nom : request.term}; $.ajax({ url : "saisie_contact.php", data : data, complete : function(xhr, result) {
  • Match all elements between 2 other specific elements

    Hey guy, as title says..how can achieve this? For example, in the code below, when the last column of each row is clicked, I want to operate on every element with that class (column) but only those on the same row <div class="row" id="959666844">     <div class="column">Lorem Ipsum</div>     <div class="column">Simply dummy text</div>     <div class="column">Lorem Ipsum</div>     <div class="column">Lorem Ipsum</div>     <div class="column">Simply dummy text</div>     <div class="column">Click me</div>
  • How to get val from selection?

    I have a selection element:             <select id="selvisatype" title="Please select a visa type">                 <option value="pleaseselect">Please Select</option>                 <option value="notapplicable">Not Applicable</option>                 <option value="a1">A-1</option>                 <option value="a2">A-2</option>                 <option value="b1">B-1</option>                 . . .             </select> I want to retrieve the value the user has selected (or "Please Select" if they've
  • How to update a number input with changed values of other number inputs based on their class?

    I have several input type="number" elements which, when they change, should update a "total" element of the same type. I gave all the input elements which should contribute to the total the class "payments" like so: <input class="payments" type="number" step="0.01" min="0" id="airfare" /> . . . <input type="number" step="0.01" min="0" id="paymenttotal" /> ...and then thought I could respond to a change in any element with this class like so:     'change .payments' : function(event){          var
  • JQuery UI Render Problem on Windows 8 Desktop App

    I try to develop an application for Windows 8.1 OS. I use jquery mobile and backbone.js together with MVC model. Everything is seem ok on the mobile side (Android, iOS and WP8) however some pages does not render the css appropriately i.e tabs, buttons etc. When I use recreate the body not effected the page. How can I solve this problem? Or there ara any stable format for Windows Desktop application thanks for helps.
  • Motorcycle configurator

    Hello, I just started to study jquery and i would like if someone could help me with my problem, at least check if it is possible. I have to make a motorcycle configurator where a customer can change color, change type of wheel, change exhaust, apply some stickers on it and 360° right-left and 360° up down view. Like a car configurators with prices and then save a pdf or send configuration to you email. I think that I need to use php and jquery but I'm not coder just know modify some codes. Thanks
  • How to get element from php array in jquery

    HI, I have a js script that checks the datas inserted in a form. I have a PHP array containing some error message : This array is available for different languages : en, it, fr. When a user fills a field with a wrong value, I should be able to send en_lang : <?php $myArray = array(     'wrong_password' => 'Wrong password'     'wrong_phone_number ' => 'This is not a phone number' } it_lang : <?php $myArray = array(     'wrong_password' => 'Password sbagliata'     'wrong_phone_number ' => 'Numero di
  • button into a column on a HTML Table problem

    hi i am working on create a HTML table with some columns, in 1 column i have a button(1 button for each row) with the class="verDetalle"  in this thread:  https://forum.jquery.com/topic/not-execute-a-click-event#14737000006421925 i have solved part of my problem (detect the click event). $(document).on('click', '.verDetalle', function () {    console.log($(this).text());    alert(this.rowIndex);    var widsala = $("#xcombsalas option:selected").val();    var $wRenglon = $(this).closest("tr");    var
  • combine spriterollover.js with spritesequencer.js question?

    hi all - i am trying to workout how to combine the two methods of animating a sprite sheet using two different scripts... here is what i would like to do: on rollover to the sprite it plays and reverses when rolled out... but i also want the same spritesheet to animate when a button/link is rolled over too... the attached scripts do both these things - but not as a combined thing - one will play and reverse on rollover of the sprite - but nothing when you try it with the button/link. and vice versa
  • Cannot set background color

    Hello! I cannot set the background color of the page. Use <style>   .ui-page { background-color: red; !important}    </style>but color is not changed.
  • problem w/ getting max heigth of child elements (esp. p-tags)

    Hello, we have a parent div-container and we would like to detect the maximum height of 3 p tags (see linked jsfiddle). We used the following comment to get the bottom of each children element in the div container: $(window).scrollTop() + offsetTop + element.outerHeight( true ); If you make the windows smaller, you will get a wrong maximum height of the p-tags. If you look up for the values in the Firebug they will be different. (Were using jQuery 1.9.1 .). http://jsfiddle.net/9dchr44z/17/
  • create an image dynamically with an event handler

    I'm trying to have my jquery/javascript code do the following:  1. create an image,  2. add it to a div,  3. add an ONCLICK event handler, and  4 do it again multiple times, at different positions in the div. The images are actually red dots, and I'm trying to mark various vertical spots in the webpage as worthy of emphasis, using these red dots. So to do this I assume the position of the images have to be 'absolute' and that I can find where they should go knowing where the outer div is - in other
  • select menu was not load in ajax

    HI, I'm create two  select menu in jqm page, and load option value in ajax,but first select menu will load second menu was not loading ,if I refresh a page two select menu has loading correctly, please help me <!DOCTYPE html> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
  • Counting Rows

    i have fetch rows from database but i want to set their sr # like 1 2 3 according to the number of rows. i have attached snap so that you can understand better.
  • Youtube video breaks transitions

    Hi everybody I'm working on a phonegap app based on jquery mobile. On a touch on listview I populate a page2 wit ajax then I slide from page1 to page2. Everything is fine except that in Android when I have a youtube video embedded in page2 the transition doesn't work. I'm using slide animations. The transition works fine on iOS and when there are no Youtube videos in page2 on Android. Do you know what can I do to let the animation work also when there is a video in page2? Thanks.
  • Using icons as only icons

    In http://demos.jquerymobile.com/1.4.4/icons/index.html#&ui-state=dialog under "Example of the class being applied to a wrapper." an example is giving with black icons. What should I use in HTML and CSS to show only the black icons? That is, the black ui-btn-icon without the link element and without the border-radius. If some could post a  working example would be great.
  • Creating an elastic grid

    Hi, Does anyone know of a good tutorial where I can do an elastic grid like this http://demo.phapsu.com/jquery.elastic_grid/index.php#demo I've downloaded the plugin to view it, but they hard code the image path in the jquery file to display the images and when I try to create a loop in php it doesn't work. So I'm looking for different tutorials that does the same thing
  • This seems so simple but...

    Sorry folks, total newbie to JS and jQuery but I'm learning! I'm stuck on getting this syntax right. I want to use code like this to identify if my image is visible........ <img src="images/fin-1.jpg" id="hid1" alt="" title="01" style="display: none;"> <img src="images/fin-2.jpg" id="hid2" alt="" title="02" style="display: inline-block;"> <img src="images/fin-3.jpg" id="hid3" alt="" title="03" style="display: none;">                     if $("#hid1").style= ("display: inline-block"); {          
  • 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