jQuery is not defined
Hello to everybody. I have a problem. For looking up some things via developer tools in my HTML page it says me: Uncaught ReferenceError: jQuery is not defined jquery-migrate-1.2.1.js:521 In 521st line is: }) ( jQuery, window ); what's the problem ? please help. Thanks and regards
Issue accessing JSON returned from my REST Api
I have my Webservice(REST Api) http://localhost:8080/SpringDataSource/rest/emps.json which is running in my localhost (http://localhost:8080/SpringDataSource/rest/emps.json) returns a json as shown below , [{"id":3,"name":"biathlon","role":"10000"},{"id":4,"name":"skijumping","role":"nh"}, {"id":5,"name":"speedskating","role":"1000"}] I have this piece of JQuery code which is executed from a html file to hit the webservice to get the response, function doGet() { $.ajax({ type: 'GET', url:
Issue on Stop Sliding a List to Left and Right on First and Last Child
I am trying to create a simple Carousel slider at This Demo. As you can see the slider works fine! but I do not know how to stop it at both end(left and right) side. I mean how can I control to disable the left btn when the first child of ul is the first displaying( visible) item at left and disable the Right btn while the last child of <ul> is rendering in the .well box? Here is the simple code which I have so far: $(".leftslide").on("click",function(){ $(".list-inline").animate({left:'-=187px'},
Pass parameter to autoComplete
I need to pass a parameter to an autoComplete call. During the onload init call I load a parameter into a hidden text box. I then use another autoComplete to select an employee name and their associated employee ID when I then store in the hidden text box. From a second autoComplete I use the value from the hidden text box to make a selection from the database. The problem is that when the second autoComplete runs the value that is used from the hidden text box is the initial value not the updated
add and show comment by jquery .
Hello jQuery :) I am a beginner in the language of jQuery and I know all the fundamentals :) i want add and show comments by jquery Comments script such as Facebook Comments Add a comment and show comment quickly like Facebook without updating the page to add a comment or view the comment. I used the script, but it does not display a comment quickly like Facebook How do I work so
jquery and upload a file
I have this form: <form id="uploadform" name="uploadform" enctype="multipart/form-data"> <p class="short">Email Address <small>(required)</small></p> <input type="text" name="email" id="email" placeholder="eg: me@dennisaucoin.com" tabindex="1" class="short" /><br /> <p class="short">Amount Due <small>(required)</small></p> <input type="text" name="amount" id="amount" placeholder="eg: $500.00" tabindex="2" class="short" /><br /> <p class="short">Due In <small>(required)</small></p> <input type="radio"
How to select the div inside a div
Hello EveryoneI am having doubt that in selecting a div because i am not getting what i am expecting to get. Following is the code <div id="dynamic"> <table cellpadding="0" cellspacing="0" border="0" class="display" id="example"> <thead> <tr> <th width="10%">First Name</th> <th width="10%">Last Name</th> <th width="10%">Address 1</th> <th width="10%">Address 3</th>
jquery
hello... i have for img tags in for different div. i want them to slide like image slider. i want code.
Need Help Creating Image Gallery with slideDown captions
I am new with jQuery and I think I've gone a little too ambitious. Ideally I would like to click on the #thumbGallery links on the right and load the different images into #photo. That is working. I would like to then also load the different fish .captions(hover slideDown overlay on #photo) and .tips (display at bottom below #photo). Having trouble with selectors writing the right path. ANY tips or advice would really help. Also why does the menu drop down( the Produce Reviews one) go behind my fish
Where is a good place to find jQuery developers?
We are AroundWire.com, and we need two full-time jQuery developers in the Los Angeles area to help further our UI. So far, we tried posting on Craigslist, Monster, Indeed ....all we got were a few responses from other countries. Where do good jQuery devs hide?! Please help us find a couple. Any suggestions would be very much appreciated.
Question about using the event argument
Hey guys. I trying to get more acquainted with how jQuery works with events. One of the things that I am having a difficulty understanding, is how can I call a specific method or property of an event passed into the function. For example, I tried to view the timestamp of a certain event and I get a "null" in the console log $("#delivery_method").change(function(event) { if($(this).val()== "Pick Up") { console.log(event.timestamp) // Returns Null?? } }); Another thing I am little confused
jQuery popup screen fills a field , but values are lost when (by accident) F5 (refresh) is clicked.
Hello everybody, in my PHP file, by clicking a button, I'm giving the user a popup screen to enter some data. Once OK is clicked, the data is put into an array and shown on the "underlying" page. But, when the user presses F5 by accident, the values are lost because the HTML of the screen part is empty by origin. How can I prevent this ? Greetings and thanks in advance, Davy // ************************************************************************************************************* // Scherm
Delay progressbar until hidden page fadesIn
Hello everyone, I have created a messy script for some hidden content that will fadeIn/fadeOut on click event and also, one of those pages (content actually) has a progressbar that animates the load to the percentage value i insert but the thing is that my animation plays in the background while the content is hidden. I am in need of a method (probably a trigger on click or a delay) for my code that will allow me to delay the progressbar load till after my content fades in. Here is the code for
Is there anyway to disable browser debug
Hello, Is there anyway to disable the debugging tool bars through javascript. Of is there anyway to disable the local/session storage in the debugger to make it read only?
How to make a div active and background transparent?
I'm working on a page that requires a captcha div to show up when a button is clicked. And after the button is cilcked, I want the captcha div to show up in front of the form, and the form on the back should appear transparent along with all the body except the captcha div itself. Can somebody help me out? Just the logic is acceptable, I don't need the code.
Please, Help me in this.
Hello All, I am Bhaskar.I am an MCA graduate . Recently I finished my jQuery training. I would like to find a job relating to jQuery. can any one suggest me any job portal link which provides jobs on jQuery. Please, help me in this. Thanks in Advance.
display json on html
hello. i am calling an json file via ajax using jquery. its response succesfully but i dont have idea how to display this on html using jquery. i only want to display is SCHEDULE_ID, ACCOUNT_NO, POLE_NO and DESC.. here my ajax code $.ajax({ type: 'GET', url: "test2.php", success: function(data) { console.log(data); document.writeln(data); } }); and this is the json.. { "SQL_CFG_1": { "@id": "12345678", "schedulebyaccountNo": { "CURSOR_OUT": [ { "SCHEDULE_ID":
jquery post to absolute url gives empty error
I wrote a small example (http://jsfiddle.net/VLjLX/22/) doing a post to a utexas.edu PHP script which gives an empty error message. Is that because the server doesn't allow posts from another server? I am just wondering because the error message is empty. Thanks
Pass value from iframe colorbox to parent page
Hello, Some problem with passing values. I have 3 pages : home.php iframe.php (that I display with overlay colorbox) start.php (the url redirection after overlay closing) In home.php i have my colorbox script : <script type="text/javascript"> $(document).ready(function(){ $(".iframe").colorbox({ iframe:true, transition:"elastic", scrolling: false,opacity:0.60, width:"550px", height:"300px", onClosed:function(){ var name = $('#name').val();
When I click an item second time, not able to bring the jQuery Dialog to the front if it is already opened in background
Hi, I am opening a jQuery Dialog (with dialogExtendOptions) when click an item in a table.if I click the same item it is opening similar new dialog every time.I don't want to open dialog second time.Since it is already opened,I want to bring the already opened dialog to the front. Please help on this same. Thanks, Karim
How to Prevent Sub List to Slide Down and Up Parent List
Can you please take a look at This Demo and let me know how I can stop /prevent the sub menus to slide up the list. If you click the Two or Three you can see there are sub menus as Two _ 1 .. Two _ 4 and Three _ 1 to Three _ 4 now I would like to stop them sliding up the opened musthidden class. Here is the code I have: HTML <ul id="slider"> <li class="expandOnClick"> <a href="#">One</a></li> <li class="expandOnClick"> <a href="#">Two</a> <ul class="musthidden"> <li><a
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 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?
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
.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
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);
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,
"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+'
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;
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=
jquery dialog fails to load mvc view
I have an ASP.NET MVC4 view that leverages knockout 2.2. If I load the view direcftly everything works fine. When I try to load it via jquery dialog load() I get an error related to the knockout bindings associated with the view already loaded, in other words the source view that handles the click event. I've read a lot about loading partial views but I haven't found out why a full view isn't able to load. Also, I suspect script files are not loading as I don't think document.ready ever fires
Next Page