Doing things in specific order
Howdy y'all, I have a page with a form on it, and when the form focuses or blurs, I make some changes to the appearance of the form, mostly regarding colors. To accomplish this, I use .addClass and .removeClass, and those work pretty well. Along with those changes, I also want to change the background color of another element to match the new border color of the form fields (Border color is set in the class that I am adding and removing). Basically, the order I do things is this: remove the class
jquery-2.1.0.min.js Issue in IE 10
Hi, I have included the jquery-2.1.0.min.js in my project but while running the web application it throwing the following exception SCRIPT450: Wrong number of arguments or invalid property assignment jquery-2.1.0.min.js, line 11 character 14135 I have attached the screen shot of the exception, please provide your suggestion
Jquery-Mobile-Updatepanel Problem
I have 4 splitted divisions(ex.Default.aspx#home,Default.aspx#grid,Default.aspx#order,Default.aspx#search) in j-mobile in which asp-button clicks, it redirects to the First division(i.eDefault.aspx#home).But it want to stay in same division itself...One more thing,Am using Ajax Updatepanel in that Corresponding Div...Any Suggestions ...Thanking you in advance...
How to read in a craigslist page and wrap page elements with jquery objects
Is there any way do develop a set of tools with jQuery than when a craigslist page loads each add can operated on with jquery methods.
jQuery on Localhost loading images/sprites
Hi, I am developing on localhost for PCs not connected to the internet so I need to store jQuery files on localhost Everything is working fine except jquery image sprites so for example if I have datePicker and calendar will show up it is shown without LEFT and RIGHT arrow to move between months? My question are: 1. Where to store sprites if my jquery is in folder jquery/jquery.min.js and jquery/jquery-ui.css,js? 2. Where can I download jquery sprites? Thank you
Testing for user input does not match CSV value using the $.each method
Hi, I am having difficulty finding a solution for this problem. I am using AJAX to pull in data from a CSV file that checks user input from a text box against an ID column in the CSV file and outputs the row from the CSV file to screen if a match is found. I am using the $.each method to check all rows in the CSV file and everything works as expected until I add some code within the $.each method to check when user input does not match a row in the CSV file. When this happens I want to out put an
A slider compatible with earlier version of JQuery
Hi all. I have a slider at http://www.christopherstoner.com but I'm looking for a slider which would be compatible with an earlier version. Can anyone recommend one for me please?
Tabs widget, make divs inside each tab scrollable?
I'm using the Tabs feature in my web app, and I'd like to be able to keep the tabs visible when scrolling through the content in each tab. At present, if I set overflow-y: auto to the container div, it allows me to scroll that container (and the tabs with it), meaning that the tabs will disappear as I scroll down the page. I'd like to have each container div scrollable instead. How can I do this? The problem seems to be that the child divs can bloat up the parent div. See what I mean This fiddle
Block special charactes on paste event.
HI Is there a way to block special chacters from entering any of the textboxes or textarea across my application using jquery. Thanking yuo in advance.
why JQuery .load() working on Local Machine but not on server
Hi, I not understand why the following script does not work on the server but in local, working properly. script var url = "lotes_add.php?hacienda="+hda+"&id_lote="+lote_nro+" #tbl"; parent.$("#content #tbl").load(url); something equivalent to the script, maybe ... parent.document.getElementById("new_content").innerHTML='<object type="text/html" data="lotes_add.php?hacienda='+hda+'&nro_lote='+lote_nro+'" style="width:98%; height:600px;" ></object>'; but I do not know how to integrate # tbl thanks
How to style jquery validation (http://jqueryvalidation.org/)?
I'm looking for some sort of reference but I can't find it. All I can find are bits of styling as asked in stackoverflow or mini-examples. Nothing really comprehensive. Also there are other jquery validation plugins and some of the discussion (mostly in stackoverflow) I've seen doesn't really talk about which plugin is being used. I have this code (see code below) without using any CSS and and it produces this sort of styling by default. I looked at the site linked above and can't find any article
.on click button recreated each time called by function
I have a function that creates multiple forms for a user input. At the bottom is this jquery statement $('#divID'.on('click', 'nextButton', function() { then the code goes through the form and collects the selected values into a local variable array currentAnswers. THe outer function then pushes the data to another variable to store all the answers. It seems the function was running twice which I noticed when the two sets of values were in currentAnswers- one set the selected answers and another
jQuery UI connected list and PHP/Mysql
I'm using the jQuery UI sortable with connected list. This is what I want to do: I want to have two lists. When I drag something from the right to the left it will give me the items in the left side with the order, it WONT give me the items in the right side. When I move something from the left to the right, it will only give me the 1 item that I moved to the right. This is what I have right now: http://jsfiddle.net/raygo/k9LRR/ My current code: <script> $(function() { $( "#sortable1,
How to connect “draggable” and “sortable” in jQuery?
I'm trying to figure out how to connect draggable to sortable in jQuery. I also want the dragged div to snap to the other divs. Here is an example of what I want the jQuery to do: <div id="yes">Drag me and you'll be able to drop divs into me.</div> <div id="no">Drag me but you won't be able to drop divs into me.</div> <div id="main"> </div>After dragging the div with the id of "yes", the code will be like this: <div id="yes">Drag me and you'll be able to drop divs into me.</div> <div id="no">Drag
Drag and Drop whitout Mouseposition
Good morning, I would like to use the drag and drop function of jquery UI for an application, but instead of event.pageX (mouse position) I would like to use another input eg positionX of a virtual pointer. Exactly how I would do, I have already thought of just the values in the jquery UI js exchange but unfortunately that did not work. Thank you
jquery x-editable
is there a way to implement the x-editable widget so that when it is created, it displays the edit box, confirm and cancel button? Skip the additional click step on the element.
Dragging Page But Not A Draggable Element
I have implemented a couple drag-n-drop in a web application. It works fine on PC. On a mobile device, it doesn't behavior as desired. A dragging action will drag the whole page, but not the draggable element. I notice the drag-n-drop is insde a table on this site. I don't see that will be a right approach for my site. Any other solutions?
Need help with Drag and Drop
Dear Jquery.com users, I'm a noob in jquery and need some help with figuring out a few tricks regarding drag and drop scripts. Recently, I found "Drag and Drop shopping cart" tutorial. I downloaded the source code but the implementation lacks some functionality. The tutorial comes with a script for removing items from a shopping cart, but the remove function doesn't work. I have a few questions regarding some additions to the existing functionality. 1. How to prevent duplicate drag and drops? 2.
jQuery mobile project - looking for developer
My apologies if this is not the proper place for these types of inquiries . . . . But we are looking for a jQuery developer with experience implementing drag/drop functionality on both mobile and desktop. If this is not the right place, is there a place I should post? Thanks!
improper function
trying to make a dropdown menu clickable on and off... but also be able to turn it off with clicking outside of it. This works great (this is just for the turning it off part, getting the menu to drop down is working fine): $(document) .mouseup(function (e){ var ch = "#dropdownmenu"; if (!$(ch).is(e.target) // if the target of the click isn't the container... && $(ch).has(e.target).length === 0) // ... nor a descendant of the container { $(ch).hide(200);
how to make this effect
i look a website,i think its very beautiful ,but i don't understand much about it about the header,can you tell me how to use jquery to make this effect come true. the website link is http://www.beneficiationmachine.net/
I need help with my code for product page
I thought I was done with the one I used in this web, but it seems to me too sloppy now: $(document).ready(function(){ $("#im2, #im3").css("display", "none"); $("#alterna1").click(function(event){ event.preventDefault(); $("#im2, #im3").stop(true, true); $("#im2").fadeOut(100, function(){ $("#im3").fadeOut(100, function(){ $("#im1").fadeIn(100); }); }); }); $("#alterna2").click(function(event){ event.preventDefault(); $("#im1, #im3").stop(true, true); $("#im1").fadeOut(100, function(){ $("#im3").fadeOut(100,
jquery listnav - Can I filter two ul with the same list nav bar??
Good morning, I am using list nav plugin and it works perfectly. It is wonderful!! My trouble is that I want filter 2 uls differents using the sam list nav bar. I have been searching in google but I haven´t finding out anything about this. I have seen http://esteinborn.github.io/jquery-listnav/ in the demo 2, but it needs create other listnav, I understand each ul needs a listnav. Is there any solution?? Thank you for all. Best regards, David
"parseerror" in AJAX-request in IE
Hi! I have to make ajax-request and get JSON-data. My code succesfuly works in FireFox and Opera, but in IE error occured: "parseerror". I have no idea what i have to do to solve this problem. Please, help me There is my code: $.ajax({ url:'blocks/city_list.php?country='+country, dataType: "json", success: function(res) { createNewCityList(place, res); }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert('textStatus: '+textStatus+'
Date and time picker don't hide when click outside
Hi there, Is there a method to have the pickers close when clicking outside of them on the iPad? I searched on google, but haven't found any answers. Thanks in advance! Greetings, D.
Any way to display javascript source from a (user defined) button
Hello, Is there anyway to display the javascript source with a (user defined) button click. Is there anyway to display the code that executes a specific function/ on("click" ... Thanx ...
webkitAnimationDuration and style
i need to ad a new style-tag to make a new transition duration for css3 animation and I must make it with t jQuery. I simply use: $('#mydiv).css({"-webkit-animation-duration" : "10s"}); // Chrome But jQuery makes this: style="-webkit-animation: 10s;" and not style="-webkit-animation-duration: 10s;" If I use JS without jquery it works in this mode: document.getElementById("mydiv").style.webkitAnimationDuration = '10s'; how I can fix it using jquery?
Cross domain issue... that's not cross-domain
I have a service that's being called from jquery, returning some json. The service is written in C#. The service works flawlessly on the server it was created and tested on. In fact, it works in IE9 when called from other servers. (All servers are in the same domain - in our intranet) Chrome and Firefox are a different matter. It doesn't work from any other service than the original. I've added CORS headers... but it doesn't fix the problem. In the Chrome console, I see the following error when
How to create a txt file on local computer.
Hi everybody. I'm here again because I need help to create a txt file on local computer (I really do not know if it's possible). The data that I should save on drive C they come from mysql table, I put them in html table, I generate a excel file. and then I should create a txt file with the contents of some <td>. Thanks in advance. Tegatti. I post the php file: $filename="elenco"; header ("Content-Type: application/vnd.ms-excel"); header ("Content-Disposition: inline; filename=$filename"); $sql_scuola=mysql_query("SELECT
Using a PHP POST form inside javascript - jquery .load()
I'm using a fairly standard HTML/PHP form to update tables in a MYSQL database. When I load the form into a web browser directly it works just fine. When I try loading the form through javascript (via a larger website) the forms displays but doesn't do anything. When i click the submit button nothing happens - and no errors are generated anywhere I can see. Can anyone shed some light on this? this.display_admin_table_header = function () { current_pane.send_get_admin_table_data = this.send_get_admin_table_data;
I can't enter jquery.com & jqueryui.com
I tried change DNS address, clear DNS cache, clear windows/system32/etc/hosts file. I still reach jquery.com & jqueryui.com. I can enter https://forum.jquery.com/ I can enter with anonymouse.org etc. proxy sites. What's the problem on my computer or my internet? How i can find what the problem?
Show Hide does not work
My first jquery script does not work. I want the div only to show when the second value of a dropdown is selected.
How do I pass a parameter to an .on("click" function from button
I would like to be able to pass a parm into an on "click" function from the button. Is this possible?
URL Corrupted
I have several modules that allows the user to update information in a database. Before adding or editing the information I verify that the entered data is valid. If the information is not valid I inform the user of the problem via an alert message. Simple and straight forward. My problem is that when there is a problem the URL gets corrupted. This is normal URL... www.myappname.com/update_Module.php And this is after the invalid request... www.myappname.com/update_Module.php?tableName=squarefeet&tableIndex=sqft_ID&indexNumber=464&form_BegDate=2014-01-01&form_EndDate=2014-01-31&NewDate=&NewDate=&buttonEdt=&sqft_Project=06801.83&sqft_Phase=113&sqft_Date=2014-01-19&sqft_Amount=3353&sqft_Rate=&sqft_Complete=1.00&sqft_Comment=
Has jQuery Mobile Development Stalled?
Just wondering if jQm is still in active development? It's just there has not been a blog update since Feb and generally the jQm site is looking a bit dated and unloved and there are pages in the demo that don't work (eg http://demos.jquerymobile.com/1.4.2/transitions/transitions/)... I have been working on and off on a project that uses jQm as its base and obviously dont want to kick off using effectively dead technology, so I could do with knowing if I need to switch platforms or why nothing seems
dont get current data from DOM... jquery seems to cache ?!
Hello, <script type="text/javascript"> $(document).on("swipeleft", function(){ $.mobile.changePage($(".nextsite").attr( "href" )); }); i come from mootools, but i seem to be blind here. it should be very easy... on swipeleft the page should get the HREF of the link with class "nextsite" and change URL it works fine, ONE TIME... on the loaded site this link with class "nextsite" has a different value now. but when i SWIPE-LEFT, nothing loads, cause jquery wants to load the link from the
Jquery 1.3 not working with blackberry 9780 (Platform 6.5)
When I load jquery-1.9.1 and jquery-mobile-1.3.2 in my application and include other JS for example a simple js having one function which is alerting a message on load of html page. But because of jquery mobile 1.3.2 that js is not getting loaded.
Changing 1, or 2 or Last word.
Hi, I have just read this topic about changing the first word of a title with jquery and CSS : http://forum.jquery.com/topic/changing-first-word In fact i wanted to know if it is possible to select 2 words with that system ? O r the last werb for example..; ANybody has an idea ? Thanks a lot by advance... PAO Production
Securing jQM app? login or other options?
What options are there for securing / limiting access to my web app? Right now I have everything behind a login. I have cookies implemented to remember users, but Safari reloads the app from scratch every time I switch apps, even if only for 2 seconds... and I have to relogin every time I go back to the app. The cookies remember the credentials, but it still makes me click "login" and then I have to wait a couple seconds for things to load. Is there a way to keep the session open/awake in safari
Jquery Mobile Lots of linked lists extremely slow to load
Hi, i have a huge linked list in this kind of format. It is extremely slow to load on a HTC incredible S. Also very slow on an ipad. In the realm of 8-10 seconds on both. This is after all the JS/CSS has already loaded. It's blazingly fast on a PC. <ul data-role="listview"> <LI>Tier1 <ul> <li>Tier2 <ul> <li> <a>3</a></li> <li> <a>3</a></li>
Next Page