Is it a error in demo code?
Regarding to .is() on Jquery document Example: Shows a few ways is() can be used inside an event handler.Line 26: $("div").one('click', function () { It should be: $("div").on('click', function () {
Autocomplete and ajax
This is where I want the autocompletion. <td>Tilføj servicedel, varenummer:<input type="text" name="varenummer" id="varenummer" value="" onkeyup="gethint(this.value)"></td>And here is my ajax call gethint() function gethint(str) { if (str=="") { document.getElementById("hint").innerHTML=""; return; } if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {//
Table grid conditional formatting
Hi All, I have a requirement like , i need to pull the records from database and diplay in tabular format in jsp but i have o highlight the difference in column each row with different coding . any ready made solution with jquery ? example : - col1 col2 col3 test 100 200 test 101 200 test1 101 200 test1 100 201
Jquery for Drupal
I linked to the files from the template.php file, now I'm wondering what do I need to enter into the CMS to get the widgets to work. I thought I just needed to reference the ID. Here is an example of what I dumped into the CMS content editor. <div id="accordion"> <h3>Section 1</h3> <div>
First time website visitor alert
Very new to coding and haven't found what I need after searches. Find myself more confused in which approach to take. I'm looking for an alert to be displayed when a website is visited for the first time. This alert will have several button links with a checkbox option to "Not show again." If checked, a cookie will be saved so as to not display upon subsequent visits. I've looked at javascript, ajax, and now jquery. Am I in the right place to use a jQuery form that is invoked with a body onload event?
tabs - click and mouseenter, mouseleave
I have had problem with using tabs. I tried to implement tabs functionality for example as site http://mashable.com. Tabs can be hover and show tab content by hover. If I click tab, tab content should be hidden, unvisible UNTIL mouseleave <li>. If I again mouseenter, tab content will be shown. I have had problem with combine hover and click. With this code, I have problems like: 1. Page load - if tabs up and down during page load, tab content is shown because of mouseenter despite of click tab 2.
Trying to convince my Managers
Greetings First, let me apologize for posting here, but I could not find a forum or form where I can send this directly to the JQuery Project Team. The company I work for has a non open source policy. I would like to start using jQuery in my applications. My managers are looking for assurances that any security issues will be dealt with promptly. I have heard all the arguments for open source, but what I am looking for is a document outlining the process or past responses to issues. I have
[MYSQL/PHP]How to display a query dynamicly
Hello, I have two lines of results for a mysql query : line 1 : 1 // 5 // Conception et mise en oeuvre d'une politique de communication // 2013-06-11 // 2013-06-13 // 15 line 2 : 5 // 3 // Evaluer une association : transparence et efficacité // 2013-06-10 // 2013-06-15 // 15 I want this "design" in a div : Name : Places : Date ; Book it ! All lines will appear one by one, every 30s My PHP code : <div class="reserver"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
Is there a way to use 2 jQuery libraries at once?
I am trying to use the Flexslider2 plug-in on a website that is using the 1.3.2 library; the slider only works with versions 1.4.2+. If I reference a newer library, other functionality on the site breaks. I don't have the ability to update the reference to the 1.3.2 library, or modify that piece of the site at all; only update a "zone" on a page via a CMS. These are the scripts I'm using in that zone which is resulting in an error that says TypeError: slider.slides.first is not a function var slide
use jquery to display iframe from href click event
I have a form that displays data in a table. Currently each line of the table contains an href statement that takes to user to a new form: echo '<td ><a href="newparse.php?EmailID='.$row->EmailID.'">'.$row->EmailFileName.'</a></td>'; This works fine, but what would be better is to display the newparse.php form on the same page when the user click the href. I understand I can use an IFrame to display the form inside my form. The question I have is how do you code the href to show the newparse.php
Instant [in template] jquery did not work on ASP.Net site?
Hi guys, I am too new with jquery and don't know anything :( I have some problems with jquery when I used it my site which came from this template. The skins work fine live demo which I linked altough I cannot use it very well. I did not change anything, just remove the content area from master page and all scripts are bottom of the page in the form area. I guess there is something wrong or missing but I do not know which are?
[Help Me] Jquery probelm ?
In my html page i want to use two functionality that are image gallery when click on image it show in light box. as well as i want to load image when scrolling down . example: like same in facebook image gallery . For load content when scrolling. i use this example http://masonry.desandro.com/demos/infinite-scroll.html here jquery version: 1.7.1.min.js For image light-box gallery i use this color box.. http://www.jacklmoore.com/colorbox here jquery version: 1.9.0 When i use both example in one
[HELP Me]Jquery work half page not work in other half page?
Hello JKings, yesterday i post one question and sudden reply than x for that very happy from response and my problem also solve. Now One More problem give me tension a lot , I am using 2 jquery for images conatin html page, 1 for the COLORBOX jqury and other for INFINITE SCROLLING jquery Here is my demo of hte page .. link http://demo.vthinksolution.com/jdemo/ in this page When You click on IMAGE image comes in lightbox (colorbox jqury) , it works perfect after that when u scroll down to the page
formatting data caption in light box
how to format the data caption I am planning to display three different names for a single image after i click the cube light box opens and the caption comes with div tag but i wanted to display it one by one on the light box its working fine without light box $data = ''; $('[data-caption]').each(function(){ $data += '<div>' + $(this).data('caption') + '</div>'; }); $('body').append('<div id="more-info">' + $data + '</div>'); http://jsfiddle.net/ZrpLT/52/
how to transfer 2 input box text into 1.
I have 2 textbox's which have an id of address and zipcode I would like to group those 2 values together into a 3rd textbox called aves in a format of "address, zipcode". Since these textboxs have no ititial value I think I should use the .text instead of .val method so as user types in the textbox it will display along in the 3rd. What I have so for is this code which does not work < script type="text/javascript"> $(document).ready(function () { function update() { $('#aves').text($('#address').text()
My jquery coding is not functioning properly on responsive design
I'm redeveloping my website and it works as it should on one design but on desktop layout. it's URL is http://xhpx.co.uk/under_development/ when it is using desktop.css it's only a part my jquery coding functions. please educate me on this regard and thank you very much in advance for your concern :)
dynamically in input text boxs
How to get the values from Dynamic all input texts?for example I have 10 input text in My page.I want to enter the value in First text box it will disable the tenth input text box? Is it possible in Dynamically?
Writing to a Form field
OK, so I'm stuck again. I'm trying to write the content of the div.zusammenfassung to a textarea field named "ic_zusammenfassung" and then submit the whole form to a php script. This is what I came up with: var zusammenfassung1 = $('.zusammenfassung').html(); $('input[name=ic_zusammenfassung]').val('zusammenfassung1'); And this is the textarea in the form: <textarea name="ic_zusammenfassung" class="zusammenfassung"></textarea> But it doesnt work. The Mails I receive only contain all the regular
How to start translating tutorials for the Jquery page
Hello there people, I'm a computer science student and I want to start translating some tutorials in the tutorials page to my native language (pt-br), but I haven't found anything about contributing with translations in the discussion section in the docs. So, there's someone who I can talk to in order to get started with this work, or somewhere where I can submit it? I've seen some efforts in the web, but they're pretty lagged.
$ undefined
I am a totally new newbie. First Post! I am trying to duplicate the Simple Sprite Application on page 30 of Subercharged JavaScript Graphics by Raffaele Cecco. Code as follows: <!DOCTYPE HTML> <html> <head> <title> Sprite DEMO </title> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"> </script> <style type="text/css"> #draw-target { width: 480px; height: 320px; background-color: #ffc; position: relative; } </style> <script type="text/javascript"> var DHTMLSprite
Jquery instalation and starting application , help me out ??
Hi to all , i am new to Jquery can you suggest,where the jquery.js file should be located, And all.Give some matterial on this ,Thank you .
Using Ajax
I'm using ajax to pull into a div a sortable page and the elements show but nothing is dragable. I've tried to put the script in both the calling page and the called page with no success. when I put the elements on a single page it works. Its like the script has run before the elements come into scope.
sticky header probelm
i run a script which makes a header sticky. There are several posts under each other and each of them have a header. What im trying to do is to make headers sticky (fixed) when they are 'top: 72px'. Before they become sticky they are absolute. When a new header is approaching the sticky header, eg. when the new header is 150px below the sticky header id like the sticky header to become absolute and when the new header is top 72 id like the new one to become the sticky. By trial and error i managed
Click does not trigger form input :(
Hello everyone ;) I was wander whether someone one could help me with my problem I have the following code which triggers below form <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $("#processing").live("click", function(){ var proid = $("#proid").val(); var oid = $("#oid").val(); $.post("orderstatus.php", { proid : proid, oid : oid }, function(data) { $("#update").html(data); }); return false;
Newsticker to fetch data from mysql
Hi, there are many great newsticker plugins available, but all of them seem to work with xml data. I'm looking for a way, to show the latest entries in a mysql database. the ticker should display the last 4 news and look for newer entries every few seconds. eg: entry 4 entry 3 entry 2 entry 1 when there is an entry 5, entry 1 should disappear by scrolling. I hope someone can point me in the right direction or maybe there is even a plugin that works with mysql. Thank you in advance!
how to download a plugin from this website?
hello, I cant seem to find a way to download this plugin ... which is listed on this website: http://archive.plugins.jquery.com/node/13287 how to do this? thanks, best Sam
upper noob question; implement <button id> into jQ
by default the button id is executed, but i need it to have it executed once it is clicked so what i am thinking is to change the button code from <button id="fade">Fade Toggle</button> into: <button>Fade Toggle</button> and than something added to jQ code, but i dont know how to... so something like this: $("button").click(function(){ //button id here $("#fade"); //.live('click', function() });anyone? cheerz!
Fill form elements based on dropdown
Hi, I'm pretty new to PHP, and I had to realize that even PHP is not enough for my desires... So as browsed many forums, I suppose I need some Javascript to reach my goal. I have a form, which contains a dropdown and let's say one text input field: <form name="anything" method="post"> <select name="dropdown"> <option value=1>First</option> <option value=2>Second</option> </select> <input name="city" type="text"> </form> My goal is to run a query each time the user changes the value
How to get api.xml of current doc ?
I'd like to download api.xml file of current api doc. How to ? I cannot find the url where to download from
Click event getting double results
Hi All, I'm trying to write a simple function to replace the deprecated toggle function, but I'm getting two console responses for each click. on 1st click: odd number of clicks odd number of clicks on 2nd click: even number of clicks even number of clicks etc... I thought using mouseup would fix it, but it still continues to happen. What do I need to change? var myclicks = true; $('#myclicktest').mouseup(function() { if (myclicks) { console.log('odd number of clicks');
I need your Guidance/Assistance. JavaScript and Graphics.
Hey folks, Well, I'm working on project, where I want to have similar features as google maps has. At first, I'm trying to get "surface", "window", "wievbox", "container" or whatever you call it, where i could create objects as squares or circles with some text inside. Afterwards, when i'm having enough of circles/squares I have to expend that plot, so I need navigation function for X and Y axis. Hopefully, you understood my idea. I'm asking if there is anyone who is working on something similar,
How to toggle div on click and hide any other "toggle-visible" divs
I have a site where when you click a div, a hidden div is shown. The problem is, if you don't re-click the original div, the "hidden" div will remain visible even if you click div2 which reveals a hidden div2. Basically, you have all of the hidden divs overlapping and visible at once. I need one "hidden" div visible at a time. http://www.lindseysoftware.com/SoftwarePortal/index.html Thank you for any help.
Almost works
I am testing out Easy Comment and have everything working except that it won't post. I took your code sample and changed it for my local settings and loaded it to my web server (IIS). The dialog came up and accepts my input OK but when I hit submit nothing happens. I get no errors of any kind. Any help would be appreciated. Here's a link to the test pege. http://sjsnew.digiact.net/school/easycomment_sample.html
mobilyblocks
Hi Guys, i'm new to Jquery but I found a cool plug-in. see folowing linK: http://plugindetector.com/mobilyblocks I've already implemented it but the thing is. when the bottem circle opens (with the click event) the links (other circle are round it) I like to have it changed to when a link is pressed that it closes again. the trigger for this code is Click what i'm using but I only get the circle closed again when I click on the middle circle. please does anyone has a clue?? The code for the whole
//$(this).parent().parent().remove();
Hello all, This is my first post and I'm relatively new to JQuery so hope this is not a stupid question. Basically, I want to have some rows in a table that can be deleted by clicking the button which is present on each row. The code looks like this: HTML: <table border="0"> <tr> <th></th> <th>Name <em>*</em> </th> <th>Email</th> <th></th> </tr> <div id="participant"> <tr> <td>1</td> <td><input type="text" id="partName" class="required" /></td> <td><input type="text" id="partEmail"/></td>
how to block div from inheriting css from parent div?
<div id="containerDiv" style="overflow:auto;"> <div ></div> <div ></div> <div ></div> <div ></div> <div ></div>......................<div>n </div>In the above code all divs inherit "overflow:auto" and this is a desired action, but I want to turn off this inheritance for sume divs
http://api.jquery.com/ search does not work (jan 19)
I don't know where to post this and I can't seem to find a 'contact us' link or 'feedback' anywhere on the site. The search box at the top of the 'http://api.jquery.com/' page does not seem to work. I am using Linux Mint 13 and Firefox 17.01.
using jquery-migrate
hello all - newbie here (again) during the week, jakecigar was kind enough to explain to me why i needed to use jquery-migrate if i was going to be using the jquery-latest. i notice that jquery-migrate had a version number of 1.0.0. i am wondering if there is any way to use jquery-migrate WITHOUT specifying a version number? it seems a little odd to be using a jquery-latest and a jquery-migrate with a version number. maybe something like a jquery-migrate-latest? thank you!
how to disable dropdown on chenage on other dropdownvalue
Hi all, greetings, as i am new in jquery. i want to avoid post back while selecting on country. i have two dropdown one is country and another is state if i select country other than india state dropdown should be disable. plz help My code is: <script type="text/javascript"> $(function(){ $('#<%=cmbCountry.ClientID %>').click(function(e){ var ddlstate= $('#<%= cmbState.ClientID%>'); if(this.checked=='india') { ddlstate.attr('disabled', true); } else{ ddlstate.removeAttr('disabled');
how to search the contents of all associated js files simultaneously through IE F12 panel?
Hello - I'm trying to debug a web page that has around 30 associated js files. Specifically, I've identified a function name and I want to see its details. To do this I first need to identify which js lib the function name belongs to. The F12 view in IE shows me a dropdown of all the js files associated with the page. There's a search widget in the top right corner of the panel. However, this search widget only appears to search the content of the script that's currently open in the F12 window.
Next Page