I want jQuery1.10.1 api documet URL, my org is using that version
Please provide me URL, I have assigned task to generate popup window in jQuery1.10.1. Thanka Narayana
Plug in advice
This is my first post and I hope this is the right place for it. I'm after a plugin that behaves the same as used in the following site http://sdrme.cal24.pl/ante/ under the portfolio section. Selecting the Filter projects moves the images around based on it's category. Any advice would be welcome?
Total nubby with jquery I am having a problem with val() sending data to a form
I am having a problem with this script .It adds the data to the html contact field below according to what is selected from the customer field. But when I save the data it saves what is in the contact field in the customer field also. How can I stop this from happening function updateValue() { $('#contact').val($('#customer').val()); } //update once the page has loaded too $(document).ready(function () { updateValue(); }); <select name="customer"id="customer" class="responsetext1" onchange="updateValue();"
How i can get attr('name') from each elements.
Hi, I have code: <div class="div_class" name="1"></div> <div class="div_class" name="2"></div> <div class="div_class" name="3"></div> <div class="div_class" name="4"></div> <a href="#" id="get_names">Get names from divs and put into div</a> I need code in jQuery what get name from one by one div and put into div. When i use: $('#get_names').on('click',function(){ $('.div_class').html($('.div_class').attr('name')); }) I get: <div class="div_class" name="1">1</div> <div class="div_class" name="2">1</div>
Testing the datepicker input value?
In a form field has the input: <input type = "text" class = "<PHP print $estilo_caixa;?>" id = "datepicker" name = "dt_fundacao" size = "12" maxlength = "10" placeholder = "Data Foundation"> After the test input as if the field was completed in Javascript and also treat on a select in PHP? How to put a mask on input (__ / __ / ____) the datepicker?
Recreate jQuery
Hello, I was wondering about the very first bit of jQuery code ever written. I figure it was possibly written inside a script tag as a start. So I found an article: http://blog.johnsedlak.com/2013/04/breaking-down-how-jquery-is-built/ And that also comes with a Fiddle: http://jsfiddle.net/jsedlak/s5bC4/ But the problem is with the above Fiddle if you remove the jQuery link then $ becomes undefined. So the question is how do you modify the Fiddle so that $ becomes ( you can't add the link back )
toggling content
Hi I'm new to jquery and I don't fully understand it yet. I'm trying to create a page that has multiple content on it, but the content has to only show a certain amount of words and when the content is clicked it expands showing the rest of the content. It's similar to an accordian but instead of the titles being shown its a bit of the content. This is the code I have so far <?php $str.='<div class="testimonial_content"> <img class="floatleft" src="../images/camera.png" /> <h1> Title
Can jQery tell me the text of a table header
I got a fast and helpful response to my first query about retrieving text from a table using jQuery, so I'm hoping I can get advice on this too. I am new to jQuery, but can't see an obvious way of doing what I need. I am showing the user a table in a web page. When the user double clicks on a table element (surrounded by <td> and </td>) I can retrieve the text of that element. What I now want to do is to retrieve the text of the table header (surrounded by <th> and </th>) for the same column.
Changing Text Only
Hi Guys, If have: <li> <a href="..." rel="..." > <other tags> "Original Text" <other tags> </a> </li> Trying to change the "Original Text".I tried: $(li).find('a').text("New Text"); But, that wipes out the other tags. How do I just edit the text? Thanks, Bill
jquery proper call back function for text editor
I have 2 pages: page 1 is a normal page and page 2 is a partialview (partial 2). I go to page 1 and a few seconds later partial 2 is loaded and shown at the bottom of page 1, my problem is that I need to know how to do a callback function in order to get my text editor that is in partial 2 for example this is the setup for page 1 Page 1 <script type="text/javascript" src="/ckeditor/ckeditor.js" ></script> <script> $(document).ready(function () {
How can I change data-src attribut of a canvas in jquery
Hi, In a previous post I've learned how to load a canvas from png. It is great but now I feel not very pride because I have a technical problem I cannot solve. I would like to load the data of different png one after one another. My idea is to do a setinterval just specifying the data-src before execute for different images. The problem is I don't find how to change data-src of canvas with JQUERY. Here is my code. Can some one just tell me where and what I must include to load for example testbis.png?
Can jQuery supply the text of a table element when the user double clicks on it ?
I am new to jQuery, but think it might be able to solve a problem for me. I am displaying large tables of information on web pages. These are generated from a database. I would like to offer the user the chance to double click on any particular cell in the table (which will be delimited by <td> and </td>) to drill down for more information. To make this work, I need to be able to retrieve the text in the cell. I can't find a jQuery selector that will let me do this. I can get the correct routine
Different behavior in browser for Div height adjustment
In my website I have two Div's containing variable content. This content is added via a server side include (using a management content PHP seed). I want to give the two columns a similar height by using the following fairly simple script: $(document).ready(function(e) { var A = $('#Linkerkolom').height() var B = $('#Rechterkolom').height() if (A<B) { $('#Linkerkolom').css('height', B); }; if (A>B) { $('#Rechterkolom').css('height',A);
works in 1.4.2
Am a newbie to jQuery, this works in 1.4.2 but doesnt in 1.9.1 what should I change to make it run <h1>Long-running request demo</h1> <div id="progress">Progress not yet initialized</div> <a href="http://jquery.com/">jQuery</a> <script src="jquery.js"></script> <script type="text/javascript"> function pollProgress() { $.getJSON('/progress', function(data) { if (data.progress === null) { return; } $('#progress').text('progress: ' + data.progress + ' / ' + data.progresslimit);
CSS Not selector
I need some help with a CSS not selector. I know this is not jquery selector as such but it would be straight forward for a reasonable web developer. I need to apply a:visited style to all anchors that are not inside (.className > li ) I tried the following :not(.className > li)a:visited { color:#800080; } But is not working. Can someone help me with this. Thanks
Can I use variable instead of 'top' and 'left' in offset?
$('#bQueen').offset({variable: 200});
contains() ?
Making a calculator for practice, and I am stuck on my last function.. I have tried a bunch of things, but here is the idea. I just want to make sure that you can't put more than one decimal in a number. This is what I'm trying - seems like a hundred different ways... can contains() even be used like this? screenVal = "0" $(.button).click(function() { // MY #bDot is class="button" if (screenVal === "0") { screenVal = ""; } });
Sorting icons do not appear in my column headers.
The sorting feature works on my table and I can seem to size the icons which enlarge the header but they just are not visible. Any suggestions? I have limited experience in this area, but I have been working on this for a couple of days. Thank you...
Need Help with onClick opening Dialog box
Hi Guys, Very new to this and am stuck already with an onClick command and it's puzzling me. What's meant to happen: User clicks on the Shopping Cart text (within a div element which has been styled) and it opens a dialog box containing the users cart contents. Here's the code below... I think I've done a tad to much this week as I'm probably missing something really easy and am just being stupid. Any help would be much appreciated. <script type="text/javascript"> $(function() { $( 'div.dialog'
download page - DL's say "publisher couldn't be verified"
compressed production version jQuery 2.1.0 download (or others in http://jquery.com/download/ page ) result in "publisher couldn't be verified" message. It may seem fastidious that I'm asking or maybe I'm doing you a favor, but why would software affiliated with M.I.T. result in a "publisher couldn't be verified" message? PS: For some dumb reason I seem to be having a difficult time seeing my question posted. I'm usually pretty patient but I'm blowing smoke out my ears trying to post the above
Want to change property of css file on fly
i want to change property of css file on fly.. say for eg: i have css file with class like .menu { background-color:red; } i want to change the color of .menu { background-color:which user selects on fly; } can anybody help me out in this
How to change your email in your jquery account
Can't seem to find a way to change my email associated with my account. Tried preferences and edit of account but nothing is there to allow the change.
scrollTop not working correctly?
Hi, I am trying to get a scroll function to work without 100% luck. I have a a few links that are position:fixed on my side for easy nav to a particular section. I want it to work so when user clicks it the page with auto scroll to the particular div. e.g div Stage One div Stage Two and when you click a Stage One or a Stage Two the page will scroll down to that div. My problem is when I first click it, it does scroll down but too far, if i try it again though it works fine. The divs
How to get content to slide up
I have a couple of menus that when clicked will slide down to reveal some content. My problem is, is that I would like the option on top to slide up instead of down. For Example: I have a couple of menus they are Info and Lorem Ipsum, I would like the Info to slide up and all the Lorem Ipsum options to slide down My code for the menu <div class="additional-navigation-wrapper"> <div class="additional-navigation"> <a class="border-bottom-white padding-level-one inactive additional-nav-info1" href="javascript:void(0);">
Is there a more efficient way ... this ? attr ?
I am making a calculator, just to test myself / learn more. I have all of the number buttons in the same class, and right now I have 10 functions ( one for each number button ). This is my idea, I have tried a bunch of different ideas, but I can't get it to work. $('.button').click(function() { var screenValue = this.text; $('screenText').text(screenValue); });
Site Development Strategy: Ajax vs Templates
I am developing a new site using Dreamweaver. I am trying to decide the best way to achieve re-useability. Suppose my design has a basic structure with a menu, logo, and other elements that are the same on every "page". I seem to have three basic options. Forget about Dreamweaver and use MS ASP.NET with its "Master Page" structures, or Use Dreamweaver's templates to create and maintain a library of separate pages, or Have a single page and use Ajax to load the changing content from separate files.
2 Radio Buttons Assigned to 2 Images
Can someone give me an example of using a 2 radio buttons to pull up 2 images? I have a Male and Female Radio button and I want to connect the Male button to the Male image and the Female button to the female image... Thanks guys! :-)
help me to get the idea of this work..
Hi all, I try to understand the scripts of path tags animation: http://old.hitmo-studio.com/services.html ,but when I try to change the position of the rectangles and paths,I don't understand the idea of setting the initial values for "d" property for the "path" tag,which u will see in "svgObjectsData" array in scripts.js to get the final value. I can only set an immediate value for the d property ,but this doesn't work with the animation. Can someone check that and help me ..plz Thanks.
Getting started with JQuery UI
Hi, I have the following html code that I want to enhance with the JQuery UI. I want to make the anchor links into buttons. The style tag was produced by Coffecup Software. Am I adding the JQuery UI stylesheet right? Do I have to include a class with the anchors? The example I looked at included the stylesheet and js files and anchors were displayed as buttons with no further coding. So would the Coffecup styling be interfering? I am not sure what to do with the UI functionality to reproduce this
How can i skip repeated value in an Array
Hi, I have a jquery.ajax success function like below, in which i am getting repeated values for "text", How can i skip the repeated value from this array.. I am getting the values now like this text = Day : 1, Day : 2, Day : 2, Day : 3, Day : 3, Day : 4, Day : 5, etc...How can i skip these repeated values from this. Thanks in Advance success: function (data) { var tabs = []; for (i = 0; i < data.length; i++) {
Send to back my images.
Hi. How can I send to back my images? I am trying to use z-index property into my css but doesnt work, Thanks in advance. Regards
Problems on android and windows with events
Hi there folks. I am learning jquery now, which is nice. I am an old fart who programmed waaay back in z80-asm and Turbo Pascal and am now returning to coding. Just to indicate my -lack of- knowledge. I am making a website to remotely watch the programs on my sat receiver. (enigma2 for the sat nerds out there) Functionally it is done. I am able to switch bouquets, get epg data -single click a service in '#channelcontainer' - and stream channels -doubleclick a service in '#channelcontainer'. (which
dynamic list from table
Hi, i'd like to create a dynamic list from a postgre database, but I don't know how to save it. Here is the idea so far: -> Single-Page solution, so ajax is required to do the job -> jq-ajax loads the table content -> eg. some editing here -> jq-ajax to save the (edited) content Here we got to the point, where I don't know how to handle the produced data, that is for instance json, and how to get it in a "nice database format", to insert it here. I'd be glad, when there would be a existing snipped,
Jquery or javascript script
i download google chrome extension of [1 sentence] is app that give you a quotes or facts in 1 sentence i use this for learning English. [ i am translate the sentence] but the background every time change to green to orange and it drive me crazy. can i get small script that will keep the background white and the color of the font in Black the elements of css are in The HTML body tag actually better javascript
Please help to make facebook likes exchanger or send me javascript code.
Please help to make facebook likes exchanger or send me javascript code. I want to make http://www.like4like.org/ same like website any body help me??
Switch theme color trouble with tablersorter and collapse
Hello, I just start with jQuery. I did a nice table like this one example-widget-css-sticky-header.htmlI and i try to add a collapse accordion.html (like in the demo) its work, exept if i switch the theme, the color of the collapse disappears, only work with the first theme. Its my code, all files are in the root of the test2.html (all the files are from jQuery tablesorter-master and jquery-ui-1.10.2 thanks a lot if you check test2.html <!DOCTYPE html> <html> <head> <meta charset="utf-8">
jQuery ajax multiple Ajax requests problem
Hi, I'm using jQuery Ajax to prefill a selectbox. When i do the first request everything is good. When i do the second request, in the succes function the data of the first and second request is read. This is giving me some problems. If the first request gives 3 options, and the second request gives me 4. Only the first 3 are working. The 4th is giving me an error. I want the data from my last request. I use : type: 'GET', cache: false, dataType: 'jsonp'
Dynamic object variables
Hi all, I have an object named "sitedata". Within it are the followint elements: sitedata.txt_Forename = ''; sitedata.txt_Surname = '';...and so on. I have matching input elements: <input type="text" id="txt_Forename"> <input type="text" id="txt_Forename"> ...and so on. How do i write a piece of JQuery so that when "txt_Forename" is updated, it modifies "settings.tct_Forename".. and so on for a given set of inouts??? My best (not working) guess so far is: $(function() { $("form#BookerDetails
jquery-1.5/iOS 6 compatibility problem
Hello, I'm new to jQuery and I have to troubleshoot a mobile website for my company. The version is 1.5 so it's ancient. On the "slide" transition, it only works if the top of the page is visible. If the page has selections that go beyond the header, nothing happens when you select them. However, if you select the item with the header still on the screen, it functions normally. I've seen a number of solutions that either don't work for me or I'm not implementing them right. I know the problem is
jQuery does not run, but JavaScript does, why?
Hello, this the current code that I have: <html> <head> <title>jQuery Hello World</title> <script type="text/javascript" src="jquery-2.1.0.min.js"></script> </head> <body> <script type="text/javascript"> $(document).ready(function(){ $("#msgid").html("This is Hello World by JQuery"); }); </script> <script type="text/javascript"> document.write("<b>Hello World</b><br><br>"); </script> This is Hello World by HTML <div id="msgid"> </div> </body>
Next Page