show() function not working in IE8. Any ideas why?
The show function is not working on my website for IE 8. Possibly other versions of IE too, but I don't have a different Windows PC in order to test it. It works in other browsers (FF, Chrome, etc) on both Windows and Mac OS. Below is a link to the page I'm having problems with: http://www.signmestlouis.com/order_now When you make a choice in the "Select Your Sign Package" drop-down, an image of the sign should appear. It does not appear in IE8. I'm using JQuery v1.7.2 My code basic code
Example Code for Tabbing Through Jeditable Fields in a jQuery UI Tab
This is a specific case use I couldn't find any examples for so I pulled together a few similar ideas and tweaked them for my needs. Assuming you have a jQuery UI tab containing multiple divs binded to Jeditable - all with a class of "jedit" - this code will allow the user to tab forward and backward through the fields, and also wrap around to the first/last field, both forward and backward, constrained to the current tab. Even if you're not using UI tabs, you might find this useful as it does not
[jQuery] Plugins/Validation/validate is there a way to add css class to wrapper option?
I would like to wrap validation messages in <li class="error"/> with validate plugin is there any event or option I can handle to tweak the element before it is appended? I'm unsure if something like that would look ok: $('form').validate({wrapper:"li.error"}); or either $('form').validate({wrapper:"<li class='error'/>"}); Any work around is welcome. Best regards
jQuery selector to a specific string
I have a string variable which contains HTML tags. Is it possible to the jQuery selector to pick a certain HTML element? To be more specific, I have a javascript variable which contains a row of a table <TR><TD>value1</TD> <TD>value2</TD> <TD>value3</TD> <TD>value4</TD> <TD>value5</TD></TR> How can I the value of third TD's value, i.e., value3 Thanks, Madhu
Ajax error "Syntax error, unrecognized expression: #[object Object]"
Hello, Whenever I make any kind of Ajax call in jQuery 1.8.3 or 1.9, I get stopped at: Sizzle.error = function( msg ) { throw new Error( "Syntax error, unrecognized expression: " + msg ); }; with: "Syntax error, unrecognized expression: #[object Object]". My $.load call is below. I haven't been able to find any solutions online: maybe my GoogleFu isn't as good as I thought $(function () { $(".personPopupTrigger").hover( function () {
[jQuery] clearcase error when trying to add jquery-1.2.6.min.js to source control
Today I tried adding jquery-1.2.6.min.js to source control (Rational ClrearCase). below is the error I got. I didn't get the error when I tried jquery-1.2.6.js. Anyone know why the minified version gives the error. I would like to use the minified version for the obvious reasons. I found some topics when googling this error about using binary type for the file. My understanding is that the minified file is a text file, I don't have any problem opening in DreamWeaver (it is definitely text) , Is clearcase
Passing a url and HTML in a variable
I have a form set up that in on of the input boxes a url and some html will have to be passed along. The form works just fine as long as there is no url or html, if there is I get the "there was a problem" alert. How would I go about allowing the IMDB and amazon inputs be allowed to pass along html or a url? Thanks <script src="http://code.jquery.com/jquery-latest.js"></script> <script type='text/javascript'> $(function() { $('#editmovie').submit(function(event) { event.preventDefault()
After upgrading to jquery 1.9, .is(':checked') on input element is working wierdly
.is('.checked') on input element is working improperly
Using $.get() to send data to servlet and insert into mysql
Hi, recently I use $.getJSON to send request to flickr api to get some photo info (I got 100 data totally) and in $.getJSON()'s callback funciton, I use $.each() and $.get('myServlet.do') to send data to servlet then insert into mysql database. I think it should be no problems, but I found that my database would have duplicated data if I use the method above, does anyone know what is the problem? the data is duplicated when servlet received, btw. it would be very appreciated if someone can give me
Reg sending a file as input from javascript to controller
Hi I have a requirement where I have a popup where in I take an excel file (Test.xlsx) file as input and I need to pass to the server as input for the MCV action method. example: in the below code "str" should be "file" not filepath as string. $.ajax({ type: 'POST', url: '@Url.Action("CreateUsers")', data: { 'file': str, ID: $("#Id").val() }, success: function (data) { } error: { } now the CreateUsers() MVC action method of a controller have to read the file as input and can manipulate it.
THE OPEN CART THEME NOT RENDERS CORRECTLY
Hy I have a problem whit the product page, I use jquery.js to slide the "choose color" option, and for this reason IE V.7, 8 & 9 does not display tha page correctly. any idea to solve this problem ? http://cameleontextil.com/index.php?route=product/product&product_id=161
Auto complete.
Hi all, I need help to realize that: I have an input text, when I write a town, I would like that during writing it would be auto completed by the name of the town found in the database. If it doesn't exist I complete writing. Thanks in advance. Tegatti
facebook like buton code working on jsbin but not on my local html?
ive been going at this for hours now and still cant figure out why it doesnt work here on my local html file see here in my jsbin it works fine: http://jsbin.com/uhejis/1/edit but i tried it on my local html page on three computers, xp, vista, and 7 and nothing whats wrong with it?? does this code work on your local computer?? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <!-- This is all the Meta Imports and customs --> <head>
Filter function not work in Chrome and Firefox browser
I modifed the code from the sample code given by the CSS example (from JQuery v1.9): $("span").click(function() { $("span").filter(function(index) { return $(this).css('background-color') == 'yellow'; }).css('background-color', 'white'); $(this).css('background-color', 'yellow'); }); Whenever user click a word, it should remove all those highlight words and highlight the clicked word ONLY. This code works fine in IE 8 but it could not works in Chrome
Please help me to change this textbox to dropdownlist
Hello Everyone, Please help me to change the textbox to dropdownlist with the option: (Condominium, Condotel, Condormitel, House and Lot) Thank you very, very, very much!!!!!!................ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Properties</title> <style> body { background:#fff; color:#000;
How to calculate time differance using AM/PM format?
Hi Guys I am trying to calculate the time differance in minutes between 2 time so i have 2 time fields 09:20 PM and 10:00 PM i want to return 40 minutes here is what i have done so far (the output is always NaN) function calculateTime() { var start = $('#Report_startTime').val(); //09:20 PM var end = $('#Report_endTime').val(); //10:00 PM var start_time = Date.parse(start, "hh:mm tt"); //Convert Time from A/PM to time
Displaying a detail panel by clicking a summary panel
I want to be able to: 1. Click a div element (A) to display, adjacent to it, another div element (B). 2. Hover over A or B without B disappearing. 3. B disappears if hover outside A and B. My divs are: <div id="A" style="width:100px; height:100px; position:absolute; left:100px; top:100px">Summary....</div> <div id="B" style="width:100px; height:100px; position:absolute; left:200px; top:100px; display:none"></div> I display B on clicking A using the display attribute: $(document).ready(function ()
Facebook "like" button doesn't like this JQuery...
Hi everyone. Thanks in advance for you help. I'm very new to Javascript and JQuery but was able to find something online called "organic tabs" (http://css-tricks.com/organic-tabs/) and incorporate into the page I am working on, which is essentially a product gallery. You can see what I've done here: http://www.fat-hair.com/wildfire_products.html The trouble is, my client wants a facebook "like" button to appear on every product along with a pinterest "pin it" button. For some reason the JQuery is
can't get QapTcha working
i try to add QapTcha but i have a problem the slide goes ok but still lock and can't get button enabled what is wrong? this is a part of the file stdhead(); ?> <script type="text/javascript" src="jquery/jquery.js"></script> <script type="text/javascript" src="jquery/jquery-ui.js"></script> <script type="text/javascript" src="jquery/jquery.ui.touch.js"></script> <script type="text/javascript" src="jquery/QapTcha.jquery.js"></script> <script type="text/javascript" src="jquery/QapTcha.jquery.min.js"></script>
dialog at the bottom of page
I want to add a small panel to the right corner of my page , which can be maximized or minimized but cannot be closed.Attached is the image of what I need , is there any plugin to acheive this?
How to add a level into a superfish drop down menu
Hello could you tell me How to add a level into a superfish drop down menu? for this website http://judoclubkembs.fr thank you ALain
$.getSJON() behaving differently in v1.9.0
Hi folks, I have a very simple script that is pulling data from a REST service and performing some knockout bindings with the results. All works fine with jQuery 1.8.3 However when I drop in v1.9.0, the callback function doesn't appear to be called when there is an empty dataset. $.getJSON(self.newURL, function(data) { if (data !== null && data.Employees.length > 0) { vm.Employees(data.Employees); vm.detailsClicked(true); vm.noEmployees(false);
Use jQuery after loading new data
I'm using infinite scroll, one that I wrote, to load new data on scroll. The data that loads is a list that I need to be able to recognize with a .hover event. --> $(".tagItem").hover(function () { ... } But the new data with the tagItem attribute are not recognized by the hover event. How can I have the new data be recognized by jQuery events??? This is my infinite scroll... it works just fine. After the new data is loaded, I am unable to use jQuery hover on it. function InfiniteScroll() {
How to implement Table sorting and Fixed Header in a table?
Hi, In our application requirement, we have to implement Sorting, Fixed Header and Fixed columns while Table scroll. Please suggest, if any plug-in's available in Jquery (or) Please provide some inputs how to implement in a Table. I have googled some examples, but I am not able to achieve my current requirement. If any examples available, please share it. Regards, Srinivas.
jquery all the sudden won't work in my environment
Here is the situation. I know very little about jquery but I am using it for some little features in a program I didn't write but am maintaining. Our network team kindly updated my desktop with a newer java and they fixed some other things while they were on my box(they don't remember the exact list). The program ran from my development box before they worked on it now after fighting with it a bit I have it mostly working again. The only things that don't work are the jquery items like expanders
Hover with "write less, do more"
Hello! I'm new to jQuery and i have something like this: $(document).ready(function() { $('#open').hover(function(){ $('#nav_ul').slideDown(300); },function(){ $('#nav_ul').hide(); }); });It all works fine but... The problem is that i have several #open and #nav_ul elements, and i don't want to write different CSS id's like "#open1" "#open2" etc. I'd like to do the thing with just one CSS id like on my code. Could anyone help me please? Regards
Replacing HTML content and images on button click
Hello, I have 3 main tables. One with a graphic, one with a text description for the image (header, paragraph, and links), and the third is a list of links. What I want to do is: Click a link, and without loading into an entirely new page, change the graphic and the corresponding text. there are 5 links each with its own graphic and text I need it to load. So far I've only managed to get the graphics to work by messing with an image replacement gallery script, changing the thumbnails to text links,
iframe has horizontal scroll bar or not
hi, i have web page, in that one iframe is there , i loaded one external web page, i want to check weather the iframe has horizontal scroll bar or not need to check, can u please explain , how it will check using jquery.
Load method
What is the best alternative for load method ij jquery ??
How is the API documented in jQuery in order to provide intellisense?.
Hi, Have the below query. Please help me to understand. We have javadoc way of providing documentation for java class and methods. Similarly, What's the standard way of documenting javascript?. I added the following js file and in my html made reference to the script <script type="text/javascript" src="js/jquery-1.8.3.js"></script> <script type="text/javascript"> $(document).ready(function() { $(selector). // It immediately shows me all the methods possible }); </script>
Jquery Ajax post to a php script on the same page as the html
I am building an admin page for my wordpress theme and i thought of posting my form content to a php script that is on my html page.The php script is used to insert and help in editing my form.Here is the script. <?php echo date('H:i:s'); ?> <html><title>Ajax Example</title> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"> </script> <script type="text/javascript"> $(document).ready(function() { $("#main").on ("click", "#login", function(event){
positioning a new element beneath another
Hi everyone, I am working on a jQuery plugin which operates on the following markup: <ul> <li class="item"> <a href="#"> <ul> <li class="item"></li> </ul> </li> </ul> The entire outer <ul> element has a "z-index" value of 99 and all the rest of the elements inherit that value. What I would like to do is insert a new div element in the DOM and position in under the <a> element. When I say "under" what I mean is not "below" but really
Animate broken after ? jQuery update
Hi, At 4pm local time yesterday, some specific functions have stopped working. They were fixed by changing from the latest jquery library linked from Google, to an older (1.6.1 or something) that is saved locally. Is there a change(or bug) in the latest library that would render this function broken? The symptom is the images-dropox div (and some others) animate to a 0 width and 0 height on page load rather than responding to the toggle. function ImageMenu() { jQuery('#images-tab').toggle(function(){
jQuery 1.9 Errors Under Firebug
Getting the following error in Firebug when loading jQuery 1.9: "docElem is undefined "Line 3811" Using the minified version, the error changes to: "H is undefined Line 2" For a quick test, load this fiddle with Firebug enabled: http://jsfiddle.net/VYDPM/ This happens with both the latest development and stable versions of Firebug. Is this most likely a Firebug issue?
removed element still on screen
I'm having a really weird issue - I have cases when I want to remove an element. I call remove() on it, and it's gone from the DOM, but it's still displayed on the screen. When some event occurs that causes the screen to get redrawn it goes away then. All the other changes I make to the DOM are seen. Any ideas on what could be going on?
Show/hide div with mouse over
Hi all, I'm new to jQuery and can't quite get my head around this simple jQuery code. I have a Div-1 that contains an image, when you mouse over Div-1 another Div-2 shows with text content, when mouse is not hovering on Div-1, Div-2 hides. Appreciate some help please, thanks.
JQuery Library Upgrade
Hi, Can someone help me out what are the factors to be considered whenever we are upgrading the JQuery library from Version 1.4.2 to the latest verstion V1.8.2? Appreciate all your time and efforts, Thanks! Regards, Sathya
get width of content in iframe
hi, i have i frame with width 240px, i am loading internal webpage of website into the iframe, there is getting horizontal scrollbar, so i need the width of the content.how can i get the width using jquery.
jQuery 1.9 + jquery-migrate breaks my 1.72 page
Hi, I added jquery 1.9 and jquer migrate to the header. Now my page just is broken with no helpful message: Error: Syntax error, unrecognized expression: <div id="contents"> <div class="page page_start" id="page_81"> .... A lot of html code in jquery-1.9.0.min.js:2 My page loads content using ajax and evals inline javascripts. But this message is not helpful at all. What's wrong?
How to put validation?
Hi all, I am creating a table dynamically on a button click but while i am trying to put a validation like if any field of the previous row is blank, next row could not be created on button click and show an alert msg please fill all information of previous row. Here is the code <SCRIPT> RowCount=0; stat=false; function AddRow() { //$("#message").hide(); jQtable=$('#SaleTable'); jQtable.each(function() { var count=RowCount+1; var LastRow="<TR><TD
Next Page