Using the jQuery mouse events for mouseenter, mouseleave or hover all work swimmingly on all Mac or Windows browsers except for IE8/Windows.
I am using mouseenter and mouseleave to test for hot rectangles (absolutely positioned and dimensioned divs that have no content) over an image used as hotspots to make visible the navigation butto...
Hi guys,
Using Javascript and html:
I have a list containing radio buttons that is dynamically loaded at launch time based on stored data. Even though the stored value of the radio is "on" the radio at launch does not display as selected.
I cant figure out what I'm missing.
if (defsales !== undefined) {
$('.defsales', newRow).val...
The lightbox that i am using works great with all browsers except for IE. In IE, its giving me triple scrolls.
http://obliqueinteractive.com/demo/monster/
CSS code for the iframe:
#wrap {
float:left;
width:800px;
height:500px;
overflow-x: hidden;
overflow-y: scroll;
}
#content-wrap {
float:left;
width:700px;
padding-left:50px;
}
Why...
I don't get any error in firefox or firebug, but yet in IE I get invalid argument for some reason, and I can't figure out what is the invalid argument, the javascript halts when "error" is discovered .. what can I do to debug it ?
...
... I mean I can write down my own classes that generate JSON but I'd rather not :)
...
People, here I got some answers how to replace part of a HREF attribute of a link. Eventhough I didn't understand how the "\/\/\//\"'s works.
I need to do the following:
A code that replace, in each "A IMG", the SRC 1.bp.blogspot.com/_YfY-Tbu-shE/S3q2T9SJQxI/AAAAAAAAAI8/w0kTOPwaxqs/s1600-h/TELA%204.png to 1.bp.blogspot.com/_YfY-Tbu-shE...
I have three jQuery tabs on the left.
I wish to put a "Sign Out" link on the right within the tabs header.
How I can achieve that?
...
All,
I use jgrowl to display certain content ,and i had got this weird error today
$(this).data("jGrowl") is undefined in jquery.jgrowl_compressed.js file in line 59
which points me to the followong line,
$(this).data("jGrowl").created=new Date();
And in my project js file i have the following code
if (data)
{
$('.jGrowl-notifi...
This problem is making me a bit crazy.
I have something like this
<h3>Feeds
<span><a class="smallbutton create_feed" href="javascript:;">
<strong>Create New</strong>
</a>
</span>
<span class="div_form_add_feed">
<a class="smallbutton btn_save_feeds" href="javascript:;">
<strong> Add </strong></a>
</span>
...
There is an annoying bug in Firefox where navigation in a dynamically created iframe, which is then removed via Javascript, results in the inability to go back using the Firefox back button (you have to use the drop down and navigate back a further couple of pages).
I am using a form in an iframe which validates and submits data. On fo...
Im fairly new to jquery and Im using jquery tools for tabs. I am wanting in one of the tabs to show flexigrid, but when I try to do this flexigrid does not show up, its just blank. If I setup flexigrid in a stand alone page outside the tab it works just fine. Below is the code that isnt working. Again Im new so please go easy!
<ul c...
What is wrong with this statement?
message = $("#contact-form").find(".long-text");
if(message.val().length < 15)
{
message.css("border","2px solid red");
alert("Your message must be more than 15 character long");
}
I get message.val is not a function error in Firebug? What could be the reason?
NEW
OK, now my form won't sub...
Hello all,
I would like to find out if a Javascript variable exists. This is what I have so far which was cobbled together from different forums:
function valueOfVar(foo){
var has_foo = typeof foo != 'undefined';
if(has_foo){
alert('1 = true');
return true;
}
else {
alert('1 = false');
...
Hi,
Basically, what I have is 4 or so .php pages, each with the #container div set to a different colour. As I click on each link in the navigation and the new page loads, I want the background to fade in from whatever the previous colour was before. Eg. the background is blue, a new page is clicked, and it fades from blue to red. Not t...
I'm using jQuery to call an asmx and return some data. I'm making the call like this
function getRequestInfo(event) {
var id = $('#<%= RequestDaysId.ClientID %>').val();
var formattedId = "{'id': '115'}";
$.ajax({
type: "Post",
url: "services/VacationServices.asmx/GetVacationInfo",
...
Dear ALL, I am trying to do soemthing quite straightforward but can't get my head around the syntax.
I have a dropdown list. The OPTIONs have two types of classes. If an OPTION with class 'less_than_3' is chosen we see an alert.
And if an OPTION with class 'greater'- we see a different alert.
Heres my attempt:
(please note I originall...
If I post a comment like "hello there dog" it works great, but if there are any special characters like ' or " the comment is posted successfully to the database but the jQuery code is not displaying the comment in the list.
Thanks for any tips.
function feedbacksubmit () {
// Show the Ajax Loader
$("#ajaxloader").css("display","inline...
Can I pass post variables and reload a page on clicking an hyperlink?
To be clear I have something like this.
<a href="test.php?name=test">Click</a>
If javascript is enabled,
I think I can use "event.preventDefault()" to suppress passing as GET variable.
So now onclick, name should be passed as post variable instead of get.
If jav...
I am using the following code to extend the JQuery-UI demos included with the download. I am trying to set up a container that the user can drag items into and then move the items around within the container. I incorporated the answer from http://stackoverflow.com/questions/867469/jquery-draggable-clone which works with one problem.
...
Hey,
I am trying to get jQuery to generate a random background on my site body absed off a number. So I'm trying to get it to generate either main1.jpg or main2.jpg and throw it into the body as a background.
For some reason it is only generating main2.jpg. Here is my code:
$(document).ready(function(){
$("body").css({'background...