• Combo Box Menu Tree with Thumb Images

    Hi.. I am trying to create a Combox Box, which might be the wrong name. The first links below is an actual Combox Box in html5.. Its a bit boring and can't be edited or thumb images added..  The second link below is my attempt.. Basically, I would like a Tab that expends down, to reveal a bunch of names of Groups or thumbs if I want. Each of these opens up a bunch of Thumb images within Groups.. At the moment my attempt is far too big and ugly.. I just want a single Image Tab.. Perhaps I should draw
  • How to get Ken Burns effect with JQuery Cycle plugin?

    See the object. Thanks
  • Give a solution my problem

    Hii I am new to jquery, Actually I am doing a small project, in my project have four check boxes. if user select one checkbox display some data from database   and checkbox is unchecked user comes to actual state. if user checks two check boxes and display two checkboxes related data from db. P{lease tel me sol for this prob and give advice or any idea to me for this please.  i Thanks in advnce.   
  • Access to assembled html using .append

    I am trying to use the jquery.append function. I am curious as to how the results of the .append activity can be viewed, particularly when there is problem with the script being used as input in the append function. What tool or tools must I use in order to see the built html code in the DOM? Any help/guidance on this matter will be really appreciated. I have searched the posts, but I am not sure what keywords will zero in on the proper help. Alastair
  • Submit Form - With Two Forms On Same Page

    Hello,  I'm looking for correct way to handle form submit where two forms exist on same page on the same page I have a contact form with <form class="form form-validation form-contact" method="post"> which I want to post to contact.php and also a newsletter sign-up form where I just want to email the data: <form class="form form-validation form-newsletter" method="post"> which I want to post to newsletter.php Jquery as follows is working to submit the newsletter signup forrm but I can't work out
  • jquery Date Format , date changes to today date

    I have datepicker control to which when date is assigned there is some abnormal issues related to format. 1.When date returned in dd/mm/yyyy format from server side and jquery dateformat is set to dd/MM/yyyy then date does not change 2.When date returned in dd/mm/yyyy format from server side and jquery dateformat is set to dd-M-yy then date changes to todays date not as send by server side code
  • Help with simple jquery slider

    Hi, So, I have this basic slider which splits values between 0 and 20000. Moving the slider to the extreme left correctly displays 20000 in the left input and 0 in the right input (I want it this way). But taking the slider to the extreme right should display 0 in the left input and 20000 in the right input. Need help correcting this. http://jsfiddle.net/3sdzf0vq/1/ Thank You
  • How to add username to my button link

    Hi, My button name is et_pb_promo_button and i want that when some one clicks on that then link open in new tab and add key=username ..but there is something wrong iin my code. it opens in new tab but doesn't add username <script type="text/javascript"> jQuery(document).ready(function(){ jQuery(".et_pb_promo_button").attr("target","_blank").attr("target","username");}); </script>
  • JSONP doesn't work from Windows 2012 server

    Moved a web site from a windows 2008 R2(IIS7) server to a 2012 R2 server running IIS8.5.  This web site uses jquery.jsonp strategy to access a web service on a different domain.  It doesn't work anymore. In fact any web site on the 2012 server will not access any url from a different domain even if the different domain web site is on the same 2012 server or on the old 2008 server. The same site works from the old server or from a development machine running windows 10. Both of which will find, access
  • How To Create Dynamic Variable On The Fly Base on Array of Element and Then Truncate It

    I am trying to send an array of Messages trough PHP SMS library but there are a limit of 150 character in each delivery time. so I am thinking to slice the array to several message and send them one after one. Here is the Array which I have var sms = [" 1. Head west on Whiteley Ct toward Whiteley Ct (48 m)", " 2. Turn right to stay on Whiteley Ct (0.1 km)", " 3. Turn left onto 27th St (0.2 km)", " 4. Turn left onto Lynn Valley Rd (0.9 km)", " 5. Turn right onto the ramp to West Vancouver (0.3 km)",
  • Simple Single Image Tab Dropdown...??

    Hi.. I am very new to all this stuff.. I am trying to create a simple image dropdown via a tab.. So when the users clicks or mouse over on the tab, an image will drop down.. Can someone please guild me into achieving this... I found what I am trying to achieve at this website link.. https://amgacademy.com/aerial/360-Aerials/ It has a simple tab where text, which I am assuming is a graphic, drops down.. I can create menus but to create a single image dropdown seems to be a lot harder..  Thank you
  • addClass function / multiple "div" . please help

    Hello friends (ºº)/ How the addClass function is used when multiple "div" and you only want to modify one? ... For example "background-moon" <div class="background-sky"></div> <div class="background-star"></div> <div class="background-sun"></div> <div class="background-star03"></div> <div class="background-moon"></div> <== this <div class="background-site"></div> Thanks for the help
  • Interesting Cordova issues with JQM.

    I have been playing with Cordova for the last couple of days and I have most of what I want working.  I just ran into an issue that  changePage would not work until I add the flat $.mobile.allowCrossDomainPages = true ;   What is interesting is ajax calls worked just fine.  Is this the way JQM has to work or am I missing something?  This is my change page code.  var url = oLoginmgr.baseurl+"/admin/cor/admin_login";       console.log(url); //$.mobile.changePage(url); $("body").pagecontainer('change',url);
  • Rerender an iframe

    I have the code for an iframe that sets its width automatically when the page loads. I built the site with a responsive web design and unfortunately this iframe does not allow me to dynamically change its size at the media queries breakpoint? How can I make rerender plugin with jquery at media queries breakpoints? Is it possible or i have to reload the entire page? Thanks! Manuel
  • Having Issue on Wrapping Last <td> of Each Row in ( ) on The Fly

    Demo I am trying to load each row of a table in element of an array using this code var arr = []; $('#authors tr').each(function () {     arr.push($(this).text().trim().replace(/(\n)/g, ',')); }); console.log(arr); But I need to wrap the last <td> of each row in ( ) then I tried to add () like this     $(this).find('td:last').before( "(" );      $(this).find('td:last').after( ")" ); This is doing the job but it actually adding () to the table which is not required.  Now can you please let me know
  • Onclick button show div (the div should hide the button in the process)

    Hey all i have div and within this div i have a form. I want to show this div when a button is clicked. This all works fine but i also want the original button to be hidden when clicked upon (basicly i want the div to be on top of the button hiding it) When the div is closed (by  completing the form or clicking on the hide button i want the div to dissapear and the button to reappear (all without realoading the page) How can i achieve this. <div id='d1' style="display: none;"> <form> <input type="text">
  • why duplicate my code $.each, please help

    hi. I have problem with my code, need to compare to arrays, and next compare my two arrays, this result append in a div, my problem code is here: array1, array2 for( i = 0; i < array2.length; i++ ){ if( array1[i] == array2[i] ){ /* in here is correct*/ console.log(array2[i]); /* is correct just show me two elements*/ //console.log(arrayh3.length);             // the problem is below code this repeat two times in div.prometheus-about jQuery('.prometheus-about > h3').append('<div
  • Object Does Not Support Error

    Using below code and it is giving error that click event does not support..Please suggest <asp:Button runat="server" ID="Btn_Submit" CssClass="btn btn-primary" Text=" Submit " Width="100" /> <script type="text/javascript">         $(function () {             var FU_Solution_Document = jQuery.trim($("#FU_Solution_Document").val());             var Txt_Client_Name = jQuery.trim($("#Txt_Client_Name").val());             var FU_Business_Case = jQuery.trim($("#FU_Business_Case").val());             var
  • .val not updating the value of a hidden field created using .html

    I have an html form that loads with a <div id="orders"></div>.  The user can trigger an event that makes an ajax call that returns an xml file that is parsed out into multiple forms using $("#orders").html(newHtmlCodeFromXml)  to create this :        <div id="orders">         <form id="order_1">                <input type="hidden" id="pid_1" name="pid" value="123" />         </form>         <form id="order_2">               </input type="hidden" id="pid_2" name="pid" value="123" />         </form>
  • How to move a div from right to left when page is being scrolled down?

    Hi,   I want to move a div from right to left ,when page is scrolled down .I am new to using jquery and i got some code from jsfiddle ,which i tried to use ,but unable to get desired solution.The div element is nested inside other div elements ,does that also effect the transition? Any help would be gretaly appreciated .Thanks              <script src="js/jquery.js"></script>   <script src="js/jquery-migrate-1.2.1.js"></script>   <script src="search/search.js"></script>     <script src="Scripts/jquery-ui-1.11.4.js"></script>
  • .attr should allow function that returns multiple attributes

    .attr should allow the following type of use: $(selector).attr(function() {   return {     attr1: value1,     attr2: value2,     ... }); Currently a function can only be used with the two-argument form, to compute a single attribute.
  • Method scrollTop() - works wrong in Internet Explorer

    Hello Everyone,       I am facing an issue with the method "scrollTop". I have 2 div tags what are the same sizes of height, width and the vertical scroll bar. when I scroll the first div, I want that the second div is also scrolled in the same position with the first div . I implemented this by the way: $('div_id2').scrollTop($('div_id1').scrollTop()); It works fine in Firefox and Chrome, but I got a small position deviation between 2 vertical scroll bars of the div tags in IE . when I try to log
  • About popup and select menu in IOS9

    There is a problem: When a select menu / popup is first activated, it appears, and then is hidden.  I find a solution that's tell me to set $.mobile.hashListeningEnabled = false, but it cause a side effect. When the popup was closed by user, it can not open again at that page. What can I do?  It's work before ios9 or android platform.
  • Superfish - Won't open child menu's

    I have recently experienced a problem with the superfish menu on my websitere, where the child menus no longer opens up. I do not recognize what I may have for this to happen and have tried several attempts to fix it, but i have no idea on what to do now...  I have tried to look into the JS console on chrome, but cannot see what may cause this. The website is http://oldtrafford.dk/  Versions: Drupal Superfish module 7.x-2.0 with the latest superfish library code.
  • Using Jquery calendars to show database results.

    Is it possible to use jquery calendars to show a date range in an Access database record. I want to to show when a resourse is booked out graphically. i.e. Name, start, finish Currently as ASP page shows it in Text format but I would like to show it on a calendar as booked .between start and finish.perhaps by changing the colour of the day on  the calendar Thanks for you  help, even if its "no sorry" you cant do that. Possible?
  • Getting the id of a page when leaving it.

    How can I get the page id of when it is transitioned away from. For example if I transition from page 1 to page 2 on leaving page 1 I grab the page id attribute of page 1? I have tried pagehide and pagebeforehide but I seem to get the id of the second page in this case page 2. Thanks in advance.
  • jQuery UI showing tabs as list

    I am using the jQuery-UI tabs feature and for some reason the tabs are rendered as an unordered list instead of tabs. The markup seems correct, the tabs are functional and I am reading in all appropriate CSS. I have no idea what is going wrong.
  • Jquery Mobile Site acts Funny

    Hi, I want to ask why this site acts funny! The buttons of listviews is jumping up and down...! any reason? http://www.jassimrahma.com/temp/mobile-site-problem.swf This website is at www.mesk.online Thanks, Jassim
  • Phonegap Jquery Mobile app scroll and navigation problems in IOS9

    Hi guys, I have a Phonegap app with Jquery mobile in the AppStore. I recently updated my phone to IOS 9 and the scroll stop worked. Im also having problem with the navigation inside the app. The app random redirect the user to the previous page when the user press a link or sometimes when the app makes ajax calls. I know that IOS 9 have a lots of bugs already but i really need to fix this problem, because the app is actually in production and the users are reporting the same problem. I found some
  • Newbie to ajax Need help

    I am learning by creating a sample application. As part of it I have used a sample of php pdo crud which I adapted to my sample. I want a code for the following. when I click create in the crud opens a modal form. All these are ok. What I need is the code where In the form, I need to accept a value using a bootstrap select. For example when I select north south east and west in a select it should display the branch address in anther select form element from a mysql table which has branches in north
  • Jquery Sticky header

    Hi, I want to create a simply sticky header when scroll in desktop version. But the sticky header not work in responsive version. How can I create it? Please help me. Thanks
  • Changing a css property after a certain scroll position.

    Hello everyone, So my question is the following : My personnal website is divided into sections that are colored with different contrasts, so as I scroll past a certain section, I need my fixed menu to change its color css property. At first I tried to use boundingClientRect.top this way : $(function(){ var projetTop = $("#projects")[0].getBoundingClientRect().top; var menuTop = $("nav")[0].getBoundingClientRect().top; $(window).scroll(function(){ var calc = projetTop-menuTop; if(calc<0){ $("nav
  • Simple AJAX Not Working - RESOLVED

    Well, here I am again. I cannot get Ajax to work. Firefox debugger shows through the function sometimes but sometimes not. I have been making changes so who knows what I have messed up. The idea is to click on an icon and have the icon send a code to another PHP script. The other script is never called even when the the debugger hows going through the function and going over Ajax. I simplified the code and tried it and it goes through the process of the sendmmnav function and has the correct code.
  • Setting checked property

    Hi, There are two things I'd like to do with the code below https://jsfiddle.net/yh0tao67/39/ Firstly, I don't know how to make the checkboxes "checked". To the best of my knowledge it should be $el.prop('checked', true) but by code doesn't work. Secondly, I can't help but think the I could condense the code down a little. The repetition of end() seems excessive. Does anyone have any ideas? Thanks, Dermot
  • jquery for textbox with one decimal point

    Hi i am new to jquery.And i am assigned with the task now that my textbox has to accept integer values and float values.For floating numbers only one number has to be typed after the decimal point.I tried this code but it didn't work for me.i think my problem is with regex.Please suggest me some solution. $("input.cctxt").keypress(function (evt){        var theNum = $("input.cctxt").val();     // var regExp = /^\d{0,}\.\d{2}$/;    //format  .## required         var regExp = "/^\d+(\.\d+)?$/";  //format
  • Radio button checked - add class to element

    Hi - i have 3 radio buttons each with its own colour - red - white - antique white how do i detect if a certain radio selection is checked and then add a certain class to another element so it can be styled accordingly (not parent div). This is what i have so far http://jsfiddle.net/ung99hxm/4/
  • Why are the jQuery Mobile meeting minutes not updated any longer?

    Why are the jQuery Mobile meeting minutes so out of date?  The last one was in August.  See this link: jQuery Mobile Meetings
  • if any checkbox is checked in a checkbox array

    Hello and thank you to those who have helped me in the past.  I'm having a brain issue in reversing logic that I have successfully used in the past.   What I need to do: I have a checkbox array.  If any of the checkboxes (freeform_ch_cla_course_preferences_courses_001_1 -  freeform_ch_cla_course_preferences_courses_001_5) are checked, I would like to addClass to a textarea (id="101"). Unfortunately, the code I have below, only works to toggle the validation. Thank you for any help in advance. Peter
  • jQuery Slot machine effect for images

    Hi All, I am trying to create a button that would randomise Pictures with a "slot machine effect". Ideally I would need a clever random so that you would have to see all the pictures at least once before seeing an image twice. I was looking at http://jsfiddle.net/jakecigar/aMmhZ/12/ but I could not figure out a way to edit it the right way... the code would be something like this (I am using bootstrap): <div class="container">       <div class="row">             <div class="wrap" style="width: 400px;
  • Jquery Drop-down, change values inside the table and highcarts when drop-down triggered

    Im new to Jquery and highcharts.. So im posting this question  I have a jquery drop-down which is multi-dependent. when the page is loaded, values(visitors today, yesterday and past week) under the "Asia" is displayed. and values changes based on the drop-down selected. This value is fetched to a text div. here is the jsfiddle  http://jsfiddle.net/binoymat/d9f8t9vj/17/ I want to know if its possible to create the following:- a) when page is loaded, all values has to be displayed in the table like
  • 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