Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ajindal

    Global variables in javascript???

    Hi. To add to what Adam has said that if inside a function you use a variable without "var" it will also become global. e.g. function a() { count = 0; } In the above code the variable "count" will become global. This is a common mistake as I have faced it and a lot of bugs come bcoz of...
  2. ajindal

    Shift+Mouse Left click opens the parent window and the clicked link

    Thanx a lot Adam....Can you suggest me some site where I can learn the basics
  3. ajindal

    Shift+Mouse Left click opens the parent window and the clicked link

    Thanx a lot Adam.... It is working...If you have time, can you tell me why do we need to return false? Anyways...thanx a billion
  4. ajindal

    Shift+Mouse Left click opens the parent window and the clicked link

    Hi, I am posting the sample code that I am trying to execute and the eror is coming. i have tried it on IE 6.0 version. The code for a file caller.html is given below. U'll have to make another empty html file "test.html" which will be called on clicking the link in caller.html. Try clicking on...
  5. ajindal

    Shift+Mouse Left click opens the parent window and the clicked link

    When I try to open a link I use SHIFT + LEFT MOUSE I know that it opens the link in a new window. Originally , I am using window.open which also opens the link in a new window even if I don't press shift. However for some strange reason this not only opens the link in a new window, But also...
  6. ajindal

    What is the difference between onblur & onfocusout?

    Hi Billy, This is some additional information I have found out. You are right, but the question arises that why does not onblur get fired when I close the window and why does it try to get fired after the window is closed. According to u the onBlur should be fired before the onfocusout which is...
  7. ajindal

    What is the difference between onblur & onfocusout?

    Hi, What is the diff. b/e onfocusout and onblur event? The problem is that if i use onBlur(), it causes the whole application to crash but on replacing the OnBlur with onFocusout the application works fine. The problem comes when i try to close my window. I tried debugging and found out that the...
  8. ajindal

    Giving a read-only check box a disabled effect

    Thanks...actually I don't want to make it disabled because it is giving the same problem I have already posted before. The partial solution to the previous thread I posted is: i used checkbox.attachEvent("onClick",clickHandler); In clickhandler I returned false. so it works. But I...
  9. ajindal

    Giving a read-only check box a disabled effect

    Actually I want to show the effect temporarily.
  10. ajindal

    Giving a read-only check box a disabled effect

    Hi, I have made my check box read-only but I want it to give it a disabled effect. I don't want to use checkbox.disabled = true. Instead I want to make it read only and make it look like a disabled checkbox. One thing is that I can paste an image over it...Is there any other way out. Regards
  11. ajindal

    How to Break Deadlock ? Urgent Please Help!

    Hi, Consider a situation where I have a text box and a checkbox. I change smthng in textbox and then its "onBlur" event is fired in which I make checBox.checked=true and checkBox.disabled=true. What happens is that if I use the tab button (when the cursor is in the textbox) everything...

Part and Inventory Search

Back
Top