'Javascript' Tag

  • Changing the cursor using javascript in chrome without the mouse moving

    May 21, 2010

    I had a DIV html element absolute positioned, transparent and with an astronomical z-index. Whenever I want to show that the web page is contacting the server and that the user should be patient I would change the css display value to the default and the cursor to progress. This stopped the user from causing [...]

    • Share/Bookmark
  • How to stop a javascript event from bubbling

    February 25, 2010

    Events on any html document bubble from child up to parent calling the handlers on each element until it reaches the Body. In order to stop this from happening you can cancel the bubble by setting the cancelBubble property on the event to true <INPUT TYPE=”TEXT” NAME=”TEXT1″ onclick=”alert(‘TEXT1′);event.cancelBubble=true;”>Name Taken from http://webdevelopersjournal.com/articles/jsevents2/jsevents2.html

    • Share/Bookmark
  • Can't Register Javascript for Invisible Control

    August 19, 2009

    I was writing an ASP.Net Dialog Control and I overwrote the Visible property to mean does the Dialog Control get displayed on the page initally, this defaulted to false. Later on I discovered that I couldn’t seem to register any javascript from the control. Turns out that it wasn’t being registered because of the lack [...]

    • Share/Bookmark
 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org