I have some HTML drop-down menus, and then dependent upon the selection I then highlight the appropriate column heading in a table. I do this by changing the css class of ... |
I have this very peculiar IE issue where the .attr() function will not select anything.
var tabID = $(selectedTab).attr('id');
selectedTab is a variable passed from an onclick method of a div like below:
<div ...
|
I am working with some simple jQuery to add onfocus/onblur events to a generated form. The following code works in other browsers, except IE7/8:
$(document).ready(function(){
$("input#edit-submitted-first-name").attr('onfocus', "if(this.value=='First Name') this.value = ...
|
I am using jQuery 1.3.2, It seems the attr function does work in IE8 and FF 3 but not in IE7.
The problematic code:
.attr("disabled",true)
or
.attr("disabled","disabled")
Is there an alternative way to disable ... |
The javascript code below is about half way on my php page, I can't directly modify the radio buttons with IDs q_251_789 and q_251_790 on my page unfortunately, hence why I'm ... |
As the title says, I can't get .attr('checked', false) to work on IE6. I am cloning some HTML and then before I assign the newly cloned HTML to a element, I ... |
This concerns a table where I show 5 rows at a time.
The follow code is working 100 percent perfect in firefox. But in ie8,
only the top row can be clicked for ... |
|
I have the following short code to create a div when button is clicked, inside the div is a span tag with contenteditable="false". When span is doubled clicked, it should set ... |
Each time i try to select a div element with the following selector:
div#wl-add-position-steps div[data-step="1"]
IE7 can't update the returned object.
jQuery('div#wl-add-position-steps div[data-step="1"]').hide();
jQuery('div#wl-add-position-steps div[data-step="2"]').show();
HTML:
<div id="wl-add-position" style="display:none;">
<div class="wl-description">
...
|
I am having this code to check if the element has the certain class:
var p3div = $("#portlet1 #showhide");
if ...
|
This one has me stumped. I'm using the "for" attribute on some links to identify the element they're supposed to act on. Everything seems to be working just fine ... |
Ok, correct me if I'm wrong, but I take it that jQuery attr() does NOT work in IE. (marked wontfix) That being the case, what is the best alternative? ... |
I have a function that would check if the product is available overnight - but it's not working in IE. It works fine in other browsers.
function checkOvernight() {
...
|
This code gets the path in all browsers - except ie7, when it returns the full url
$(selector).attr('href');
How do I adapt this code to always return the path?
/foo/bar/x.html
not
http://www.sample.com/foo/bar/x.html
|
Can someone help me figure out why the code here is not working? I am pretty sure it has something to do with the .attr: http://jsfiddle.net/nBcrY/1/
|
|
|
|
This should be easy but for some reason no matter which iteration I try I cannot seem to get this to work properly..A select box controls whether or not a table row is being displayed. function doChange() { if($("#reporttype option:selected").text() == 'Coach') { ... |
|
|
[jQuery] jQuery - attr method - Error Object required - Only in IE8 in Using jQuery 2 years ago hi,hi,Could any one help me with this,i am using jquery version - jQuery 1.1.3.1, there is a module to setsome valuesso when i click on the submit button i get the following error (onlyin ie8)[[Webpage error details]]User ... |
I have a hover script that implements image rollovers that goes likethis:$(document).ready(function() { $("img.rollover").hover(function() { $(this).attr("src", $(this).attr("src").split(".").join("-hover.")); }, function() { $(this).attr("src", $(this).attr("src").split("-hover.").join(".")); });});This works great in all browsers--I just use a class="rollover" on the and name the rollover image with a "-hover" before theextension.Oddly, in IE6/7, when I jQuery "load" a with new ![]() elementsand reapply the hover function to ... |
|