I have a strange behaviour on an image link with hover image.
When we click and then leave (quickly) the link, the alt is dispayed like if there was no image = alt attribute is displayed, just before new page is openned.
Is there any other easier method to develop an autofilling plugin, and which optionto take i.e. NPAPI plugin or Jquery widget ? Thanks
I'm trying to setup a shopping cart form function (add to cart button) which is called via a java script - I have this in a pop-up window and want to have the "add to cart" button both close the pop-up window and also load the info in the main window - anyone know what script modifications I need to have?
here is part of my current code in the pop-up window:
First thing you'll need is to store the reference of the popup window.
Then you can use it to close the popup and refer to window.location object for updating the page as shown below.
var childWin = window.open(url,name,params)
window.location.href = "<new url>"; // For updating the main window
// Or write some update logic for refreshing part of the page using DOM
document.getElementById("divId").innerHTML = "<updated html>";
If you want to just update a part of the page, then you can handle it through the DOM objects (document).
Last Visit: 31-Dec-99 18:00 Last Update: 19-Dec-13 17:10