|
First
|
Prev |
Next
|
Last
Pages: 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682
getElementBy... I have the following code: <a href="//www.google.com" id="check"><img name="img1" src='/images/abc.gif' border='0'></a> onClick action I want to print the image name id of the anchor. how do I do that where should I add the onClick action in the anchor or in the image tag? ... 6 Feb 2006 14:09
Array in javascript Hi. Is it possible in javascript to operate on an array without knowing how mamy elements it has? What i want to do is sending an array to a script, and this script should add all values from that array Could you show me a little example how to do this? Thanks. Leszek ... 20 Feb 2006 08:55
"prototype.js" & responseXML Doesn't "prototype.js" support the "responseXML" property of the XMLHttpRequest object? var url = "test.jsp"; var pars = ""; var myAjax = new Ajax.Request(url, {method: 'get', parameters: pars, onComplete: mycallback } ); "test.jsp" <% String ... 2 Feb 2006 10:54
window.open Hi, Why isn't following not working, well, it opens a windows but not with the size, passed to the function in variable w & h. Thank you function open_window(URL,title,w,h) { window.open(URL,title,"width=w,height=h,left=100,top=200,menubar=no,resizeable=no,scrollbars=no,status=no,toolbar=no"); } i call i... 1 Feb 2006 20:19
javascript:false I have a javascript embedded in my page. while opening the page it gives the message "Opening page Javascript:false" what does it mean? ... 31 Jan 2006 15:32
Switch() Statement Not Working Hello, I have four textboxes that the user enters the price per gallon paid at the pump, the mileage per gallon and I would like to then calculate the cost per gallon and use a switch statement to pull a value based on the price per gallon. For example if the price of fuel is 2.44 per gallon and the enter that t... 6 Feb 2006 01:06
setting cursor to wait document-wide This is the only solution I've found to get a wait cursor document-wide: function Busy() { if (document.all) for (var i=0;i < document.all.length; i++) document.all(i).style.cursor = 'wait'; } Sadly, for pages with a lot of elements, its performance is not acceptable. Any ideas? TIA, Paul ... 31 Jan 2006 14:29
Getting the object type Hello! When walking the DOM I check for e.g. obj.nodeName=='DIV' or similar. But this throws a warning in firefox if obj is not a HTMLDivElement. How can you test for HTMLDivElement without throwing any warning, notice or something? Thanks! Dominik Werder ... 12 Feb 2006 20:40
Check all checkbox I'm using the following code for a checkbox that when clicked, either checks or unchecks a group of checkboxes on a form. The code works fine, except when there is only one checkbox in the group in which case the check all checkbox doesn't work at all. The code working with three checkboxes in a group is as follo... 15 Feb 2006 10:48
Image in frame on mouse hover Hi all, I am searching for a script which does the following: I have a frameset with two pages: left and right. On the left page there is an image map. When I hover the mouse over a certain area of the image map, I want to appear an image in the right page. There are more area's on the image map. I want a spec... 30 Jan 2006 05:55 |