• Need help with radio button checking/unchecking via jQM/JS

    Let me start off by saying that I am not a developer, I'm a guy trying to finish my website after my code guy went MIA. I'm just starting to learn JS and jQuery so please don't laugh at my codes. :) So... Here I need to show or hide button sets based on a combobox selection. No problem there. However, I need the buttons to check or uncheck at the time of show and hide. I wrote the snippet below but it's just not working as expected. Do I need to add "refresh" or something? If so, how? Here is the
  • Refreshing a page without opending an index.php on the server POSSIBLE????

    [Condition] 1. Upload this index file to the host server. 2. Nobody will force the index.php to open and the index.php will never open or be loaded. [Question] Under the above condition, is the header going to work? Namely, the message will be sent. ======================================= <!Doctype> <html> <head> </head> <script> //Ajax Code will be here. // codes necessary to send message... </script> <body> <?php header("Refresh:3600"); echo date('Y:m:d H:i:s"); $message = 'Hi'; function sendMessage($message){
  • Jquery a href target blank

    Hello, first of all i wanna tell, that im beginer and this code is not my work and i need ur help :)  hodnota means number of points <script> $(document).ready(function(){       $(".odeslat").click(function() { hodnota = 0; hodnota += parseInt( $(".entry-content").find("[name='radio-1']:checked").attr("hodnota")); hodnota += parseInt( $(".entry-content").find("[name='radio-2']:checked").attr("hodnota")); hodnota += parseInt( $(".entry-content").find("[name='radio-3']:checked").attr("hodnota")); hodnota
  • page scripts not being loaded by JQuery

    We updated from JQuery 1.5.1 to 2.1.4 and now our 3rd page (when selecting a row) throws a js error saying its missing a function when building the grid. The problem is its not being added to the page because it thinks its already there. We  traced in JQuery-2.1.4.js into the function domManip . Then the call to data_priv.access(node, "globalEval") returns true where if it instead returned false this would work, as I've commented it out and tested that. It appears to be checking if the node/scripts
  • jquery not working when hosted

    In developing a corporate website I have ran into a difficulty that has me puzzled, something I have not experienced before.  I am trying to implement the dcodes dream-accordion slider and have had no success when it is hosted.  It runs correctly locally.  I have changed the file paths from /dcodes/xx/xx/xx.css and /dcodes/xx/xx/xx.js to the full domain path http://companysite.com/dcodes/xx/xx and it will still run locally but not from the server.  Looking at this in Firebug I see that the <div class="sliderContainer".in
  • I want to fetch Iframe contents , But Permission denied error occrued

    I want to fetch Iframe contents My iframe is :  <iframe frameborder="0" scrolling="no" width="130" height="198"    src="https://tpc.googlesyndication.com/simgad/17285675160002261485" name="imgbox" class="iView">    <p>iframes  not supported by your browser.</p> </iframe> My Jquery is : $(document).ready(function(){     var src = $('.iView').contents().find(".shrinkToFit").attr('src');     console.log(src);     })
  • jQuery $.each() Method

    How to Loop over objects in reverse Direction , I was following a Demo Here  
  • I cant get my Jquery stock ticker to duplicate

    I don't know why I've had a few issues explaining this problem so I have created this image to show what I am trying to do. I have a jquery stock ticker, I cannot duplicate the ticker on the same page. My idea was to create a similar ticker on the same page but with a different list of stocks below the original ticker. It might be as simple as changing a few variables but for whatever reason i cannot get it to work. Attached is a JSfiddle of the ticker I am trying to duplicate, all the work is done
  • Is there any jquery plugin to build kanban board like in jira ?

    Please let me know is there any plugin or tool to build a Kanban Board like in jira. your help would be appreciated. Thanks in advance.
  • datepicker UI wrong popup position when resize the screen (on android chrome only)

    Hi I am new to Jquery and I am trying to implement the datepicker UI. All is fine except one annoying issue I have on android OS Chrome browser (current version).  When input field is positioned relative or absolute, datepicker pop up in another position usally more bottom especially if I resize the screen.   On firefox Android OS, Chrome Windows OS the popup position is fine. With no positioning at all (no margins,paddings,top,left etc) this issue doesn't exist (all Browsers). Is this a bug or am
  • how to concatenate "#id" variable to url in load()

    I have different 2 li elements each with data-load = "#content01" and data-load="#content02". When I hover li[0],  i want to load the particular "#content01" from my source url...                                            $('.navContx li').on('mouseenter'function(){                         var loadDataID= $(this).data('load');                         var pageUrl= "http://localhost/source.html";                                     $('.loadHere').load(loadThis + loadDataID,                       
  • Submitting ajax form not working

    I'm trying to create a form that uses ajax. When I try to submit the form with no text then it alerts "no", which is right, but when I add a text and submit I still get an alert saying "no" instead of "yes". $("#contact_form").submit(function(e){ e.preventDefault(); var name = $("#name").val(); $form = $(this); $action = $form.attr('action'); var dataString = 'name='+name; $.ajax({ type: 'POST', url: $action+"/contact_request", data: dataString, dataType: 'json', encode : true }) .done(function(data)
  • Having issue on Loading/Removing Checkbox to Array

    Can you please take a look at this demo and let me know why I am not able to load the array properly $(':checkbox[name=items]').on('change', function() { var arr = $(':checkbox[name=items]:checked').map(function() { return this.id; }) .get(); $("#p-tap").on("click", function(){ console.log(arr); }); <div class="container"> <input type="checkbox" name="items" value="Item_1" /> Lower Development Cost <br /> <input type="checkbox" name="items" value="Item_2" /> Higher Energy Production<br /> <input
  • Hi sir newbie in Jquery i would like to ask how to make this swf to jquery hope you to help me

    Hi sir newbie in Jquery i would like to ask how to make this swf to jquery hope you to help me
  • jquery date picker in clone year and month not working and default date was not showing

    Currently working on clone and datepicker using jquery. With my current code cloning was happening perfectly. In the clone div the datepicker was working but it was not working like original. When the user click add more button it was cloning entire div perfectly with the dates but if i select the date textfield from the cloned div year and month dropdown not displaying. When the user click add more button in the original Degree date it was showing the current date but in the clone it was not showing.
  • Accessing jQuery function from inside formview edititemtemplate textbox

    I have very little experience with jquery so for someone reading this question this might appear to have a very obvious solution. But for me, I can't seem to figure it out. I have a webform (code behind VB) with tabcontainer in it, which in turn has a tabpanel in it, which has my formview on it. I have defined a jQuery generic function. I want to access this function from my formview edititemtemplate textbox, on keydown, something like $("input[type=text]").keydown(function () {....} Somehow this
  • Who do I get jquery to show the new value of a variable

    Jquery noob here. I have a table in which each row has a View button. I store the variable that holds the record's id in a data-whatever tag <button><a id="buttone" type="submit" class="btn btn-small" data-whatever="<?php echo $eventID ;?>">View</a></button>I have a div that i want to load details of the selected record for, beneath the table. When I click the button I pass the id to a php page that displays in the div on the same page.  The problem is jquery is only storing the variabe for the first
  • Uncaught SyntaxError: Unexpected token :

    I have a JSONP request like:     $.ajax({         type: 'GET',         url: 'https://iwebappdev/Services/CorporationsService/ForeignLLCPenalty' + '/' + year,         dataType: 'jsonp',         accepts: 'application/json',         callback: 'callback',         done: function (result) {             console.log('Success');             console.log(result);         },         error: function (status) {             console.log('Error');             console.log(status);         }     }); The web service
  • SlickNav Plugin not Loading

    For some reason, slicknav is not running on my site. All of the scripts seem to be loading correctly and the console doesn't show any errors that have anything to do with SlickNav. I don't see any duplicate jquery loads.  The scripts in the head:   <script src="/media/system/js/mootools-core.js" type="text/javascript"></script>   <script src="/media/system/js/core.js" type="text/javascript"></script>   <script src="/media/system/js/mootools-more.js" type="text/javascript"></script>   <script src="/media/system/js/modal.js"
  • Changing Hidden Field Values in JQuery Not Getting Changed :(

    I'm missing something, I'm afraid it's probably something very basic... I have a hidden field in my html:     <asp:HiddenField ID="exportMedia" Value="html" runat="server" />I have two buttons that call a javascript and pass in which button was clicked: Print Button:         <div class="btn-group hidden-xs col-md-1 col-md-offset-0">             <button id="prt" class="btn btn-danger btn-sm" type="button" onclick="isMultiPageExport('print');">                 <span class="glyphicon glyphicon-print"
  • How to move the wordpress website header to the right

    Hi, I want to move the header in my website https://www.viewtechtips.tk. Can anyone suggest on this. Thanks in Advance.
  • Problem disabling a fieldset of radio buttons.

    Hi, I have run into a problem with using radio buttons - I have replicated a fiddle here to demonstrate what I mean - https://jsfiddle.net/jcb9ovvf/12/ On load the disableBluePlayer function is called and should disable all the radio buttons for that fieldset - this is what I can't seem to work. If I remove page1 and run it with just page2 only the code does exactly as I want it to, so I am not sure where I am going wrong. Can anyone point me in the right direction. Thanks in advance.
  • MAKE DIV STAY SHOW

    hello guys jquery, thanks for support this forum i have been familiar with jquery, so to the point i have some problem now with jquery div  here is my simple demo Users click href edit in second div and form in the third div show, form need action php ( Codeignter ) to insert database by using php. it success but all i want how can i make the form still stay when the form validations is false by php to make users know what the errors shown without change the my logic jquery cause when the validations
  • How to make a "div" or "a" or a container look like a button?

    I need a banner or a header bar, which looks like a normal button which stretches to width of page leaving some margin. The div (or any other container) may have colors other than black / grey. The header may have an icon also. How can I create one like the sample below? Thanks in advance.
  • Disable with jQuery enable with Server

    I am disabling a button with jQuery like this: $(document).ready(function(e){ $('#myButton').click(function (e) {  $('#myButton').attr('disabled', 'disabled');    __doPostBack('myButton', ''); }); and on the server: myButton.Enabled = true; but the button is still disabled on post back. Very confused.
  • toggleClass not working

    Hi guys, I am new to the forums here. I have the following site http://mywebdesigners.com.au/product/mywebdesigners-website/ if you select some options and click on join now, then click on Proceed to checkout on the next page, you will be on /checkout with a section that says "Yep, I'm good to go!" and two labels where people have to click to agree to - I've tried the page builder and love it! * - 'm happy with your terms of use. * I need it so that when they click on the label, it adds a new class
  • Why "null" in array of localStorage?

    I'm using this code to add values to local storage: rowSettings[counter] = [value1, value2, value3]; localStorage.setItem("rowSettings", JSON.stringify(rowSettings)); The result in the localStorage is then: [null,[1,0,0],[1,0,0],[1,0,0],[1,0,0]]. So howe come "null" is being added? In Chome developer tool I get: "Uncaught TypeError: Cannot read property '0' of null". This happens when retrieving the objects back: var row =0; var retrievedObject = JSON.parse(localStorage.getItem('rowSettings')); //Start
  • Wierd IE 11 issue

    I use jquery to read a file and populate a container DIV with a row of DIVS this seems to work in all browsers even IE11 sometimes . If I refresh it in IE sometime all the divs disappear except the container div. however if in IE I hit f12 all the divs reappear is there some issue with a race condition or something? how would I deal with this in IE? <script>   $.urlParam = function(name){     var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);     if (results==null){
  • jquery,each and ajax return Undefine

    Hi. I am building a project with a arduino Due that is to be a multiroom thermostat. To control it, I want to use a web page with the Ethernet shield. to extract data from arduino to web page, I want to use JSON and Jquery. Note that I am a real newbe on both c+, HTML or jQuery. So I follow step by step this video tutorial and tried adapt it to my needs : jQuery json video turorial It spit in 2 file the index.htm and main.js. all the step by step was going good until it can to extrac data from the
  • jquery validation trigger

    I have the problem that jquery validation is triggered when just emptying an input box after deleting its content... Is the above "natural" for the plugin? The problem is that I cannot identify under which conditions this happens. Am I correct to assume that the validation ought to trigger only on clicking the submit button? Something I 've noticed...validation is triggered when emptying the input box when the submit button has been clicked..... You can see that in this example here
  • autocomplete works only sometimes

    First jquery project for me and first time doing anything with JS in a long time, so be gentle. :) So first let me tell you what I am trying to accomplish. I have a radio button, and depending on what value is selected I want to change the autocomplete source for a text box. So if the user selects option 1 on the radio button then get autocomplete list 1 and if they select option 2 on the radio button they should get autocomplete list 2. If I assign an autocomplete at the top level: $('#search-input').autocomplete({
  • A problem with jquery plugin for blogger

    Hey. I've bee searching for a plugin/code for blogger, which would change anonymous or blogger avatars to custom avatars. All over internet the only code is this one: <script src='http://code.jquery.com/jquery-latest.js'/> <script> $(&quot;img[src=&#39;http://img1.blogblog.com/img/anon36.png&#39;]&quot;) .attr(&#39;src&#39;, &#39;https://lh3.googleusercontent.com/-DoSIO5IATWY/U6YjsCv3RCI/AAAAAAAAB7I/_ut2RhVpgu0/w346-h391/NewBloggerLabAnonymousAvatar.png&#39;) .ssyby(&#39;blank&#39;) </script> <script
  • Using Head First and I'm confused...

    Furry Friend Campaigns Ok so I bought head first a couple of weeks ago and just got around to using it. and I think i typed something wrong because the code doesn't work. Here is the code to the Index.html <html> <head> <title>Furry Friend Campaigns</title> <link rel="stylesheet" type="text/css"  href="styles/my_style.css"> </head> <body> <div id="#clickMe">Show me the furry friend of the  day</div> <div id="#picframe"><img  src="images/furry_friend.jpg"></div> <script src="scripts/jquery-1.11.3.min.js"></script>
  • leave the dialog opened and intact while url changes

    I use dialog UI in Wordpress website I want to modify the URL to another page and leave the dialog opened  and intact during that time. Is it possible and how? Thx
  • How to stop auto-scrolling after I move mouse?

    Hi all, here is my code of auto-scroll to div     function jumpToDiv() {         $( document ).ready(function() {             $('html, body').animate({                 scrollTop: $("#contact_div").offset().top             }, 2000);         });        } So when I call this function, it scroll me to div "contact_div" ... this process takes 2second ..AND I can not stop this scrolling ... : it scrolling and when I move my mouse, I want to stop it Hope you ubderstand me and thanks for good answers :-)
  • How do I force a "click"?

    How do I force a "click" on a particular radio button? Here's what I have........             if (document.getElementById("Combobox1").value=="1.1"        || document.getElementById("Combobox1").value=="1.5") {                       $("#Mat1").show();                       $("#Mat2").hide();                       $("#Mat3").hide();                       $("#Mat1-0").Event("click");          }  Please help, ---Frank
  • Wizard plugin?

    Hi all i want create a Wizard same as: http://www.jquery-steps.com/Examples#basic i try create here in my webpage: http://frigorificos.noip.me:8080/jinvmanz2/ejemplo1.jsp i checked and checked what happend and not found the error. The path of the files its ok Any avice, how to create a Wizard? Exist other plugin better? thanks
  • ¿Qué hago mal con "text()" para cada "tr" de la tabla?

    Buendía foreros. Tengo un problema con el método "text()". Necesito que muestre un texto por cada "tr" para cada "tr" de la tabla. Este funciona solo para el primer "tr". Código con problema: https://jsfiddle.net/j8g5zehn/1/
  • Store settings (selected index) in a text file

    I have a web project in Visual Studio and I have had some problems with page postback when it comes to my drop down list, so using JQuery instead and the select change function is a smoother solution. Now I don't just want to play around with the drop down list, but I need to be able to store the selected index as well. So I have a save button and whatever option the user selects, I need to store in a text file. The point is that the next time the page is loaded I need to load the text file and retrieve the
  • How to restrict image size before upload using dropzone.js??

    Hello,       I am using dropzone.js for image upload in my application but I want to restrict user at certain image size, so how could I do that..??
  • 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