Can someone recommend a reliable lazy loading JS plugin for IE6?
This plugin doesn't seem to do the job for IE6 with jQuery 1.3.2 ( haven't tested 1.4.2 ): http://www.appelsiini.net/projects/lazyload ...
This plugin doesn't seem to do the job for IE6 with jQuery 1.3.2 ( haven't tested 1.4.2 ): http://www.appelsiini.net/projects/lazyload ...
Hi, I am making a webapp. I have a fairly basic question about javascript performance. Sometimes I need a global variable to store information that is used the entire time the website is open. An example is a variable called needs_saved. It is true or false to say whether the page needs saved. I might have another variable called is_ie...
<HTML> <HEAD> <title>Login</title> <script type="text/javascript" src="http://script.auction.co.kr/common/jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { $(":input[name='txtPassword']").blur(function(e){ $(this).css("background-color","whit...
I need to access a javascript variable with php. Here's a stripped-down version of the code I'm currently trying, which isn't working: <script type="text/javascript" charset="utf-8"> var test = "tester"; </script> <?php echo $_GET['test']; ?> I'm a complete noob at both js and php, so would really appreciate any advice. UPDAT...
In javascript I have a problem with a script I am writing. I need to be able to get the starting top and left positions of an html object like a table or an image that are defined in the CSS. When I define the left(20px) and top(20px) offsets for the table I run the javascript console built into chrome and do parseInt(document.getEleme...
I'm examining someone else's code and I'm trying to find out what functions are executing when I take certain actions. Is there a way in firebug to do this? (or any other way). In this particular case I'm trying to find out what happens when I click the 'next' and 'previous' buttons in the editor found at http://trirand.com/blog/jqgrid/...
Here's the thing, I have a jquery click event handler, that calls a post on click. The type that it expects (4th parameter of $.post()) is "json". However, on the server side; there are two responses to the post: it's either json or html response. The problem is, if it returns html, the callback function isn't called (because the $.post...
Hi there first off all thanks for looking , I am in need of a small script that will display an SVG (vector image) within a frame that has 2 functions; 1 - The image can be panned (moved around to look at different parts of the svg image with the cursor) simmilar to google maps. 2- The SVG image can be zoomed in and out on also simmil...
Hi, I'm writing an npapi plugin. I was wondering if there is a way to capture the browser screen from my plugin using either npapi or javascript. Any help would be appreciated. Thanks ...
What I am doing is creating a simple html page in which there is a textbox. A user posts some input to that textbox such as first last first last first last first last Imagine these are different names. What I would like to do is take the input in the textbox, and display it to the screen with the repeating names taken out, in alphabe...
Again stupid question struggling to assign a value for a javascript variable from controller ? what is the proper way to assign value to a variable below line of code is failing .. Please advice var tenmp= '<%= Model.Temp%>'; ...
Hi guys, I was just doing some validation and got some errors due to my javascript... Error: document type does not allow element "strong" here $('#myobject').html('<strong>'+multiplier+'</strong><small> objects</small>'); It seems fairly straight forward... i'm putting some html in a html function but w3c doesn't like it... ...
hi I want to display 5 records from a database with in a td one after another (about 60sec). How will i do this, with out the need of page refreshing? I don't know any idea about ajax ...
<script type="text/javascript"> for (count = 0; count < 10; count--) { alert('Dont touch this'); count = 5; } </script> ...
How can I assign the contents of a form text field called "username" which is in the first form in a document to a variable called "thename" ...
I noticed that some wordpress themes ('Thematic' for example) adds user specific classes to the body element so you don't have to retort to CSS browser hacks, for example: wordpress y2010 m02 d26 h05 home singular slug-home page pageid-94 page-author-admin page-comments-open page-pings-open page-template page-template-home-php mac firef...
Say, I have two HTML elements - an input field and a button. The code for both is generated programatically. After I generate the code, I have a function that binds event handlers to those elements. //Locate add to order button and bind event handler to it this.input_add = document.getElementById("add_to_order"); this.input_add.onclic...
This is my first post, so please go easy on me. I'm sure I'm doing everything wrong. However, I couldn't find any posts that answered the question above. I use jQuery. I'm trying to find a way to get the current width and height of a DIV element, even if they're set to "auto". I've found many ways to do this, but no method returns the s...
I have a gridview with three textboxes txtOpeningAdv , TxtAdvanceDeducted , TxtClosingAdvance..... Using a KeyUp function on TxtAdvanceDeducted i calculated TxtClosingAdvance... My page Shows value in TxtClosingAdvance textbox... But when i accessed it using c# it gives me error Input String was not in a correct format... When i inspect...
how to open the one page to the in new browser windows in coding? ...