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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by alshebli

  1. alshebli

    Cancel Background

    So i have the following line of code: document.myForm.elements['Last'].style.backgroundColor='#eeeeee'; which changes the input field's background in my form to light gray. However now I need to add this button that when you press on it, it changes everything back to normal. So I did this...
  2. alshebli

    Input background

    Great! That was my mistake! I can't believe its soo stupid! Thank you! :)
  3. alshebli

    Input background

    Hi, I've been trying to figure out a way to change the background color of the input in an html form using javascript. Heck i even tried to figure out how to do it in html and no luck! :S So far this is what I've tried...
  4. alshebli

    window.open

    Your javacode needs to be under onclick, instead of href. Try this: <a href="http://www.pmmoto.com/showroom.php?page=1" onclick="javascript:window.open('incs/large_Image.php?page=1','LargeWindow','top=0,left=0,width=640,height=480,resizable=yes,status=no,toolbar=no,menubar=no')"><br> <img...
  5. alshebli

    Works On Mozilla but not on IE :(

    That didn't work. :/ I hate IE. Any other sugguestions? I thought I'd cheat and actually try to change the background color of the input field, but couldn't figure that out either!
  6. alshebli

    Works On Mozilla but not on IE :(

    Great! it works! It doesn't allow the cursor in the input field, which is what i want. However, it doesn't shade it grey like the other browsers do. It looks exactly the same, only it doesn't allow the cursor on it. I can see this as being annoying to any user using the system. Having the...
  7. alshebli

    Works On Mozilla but not on IE :(

    Hi! I'm using Javascript to make a form's input read only. I basically open a child window, and then the child window provides it value them makes it readonly. I passes on its value correct, however i can't seem to get the input greyish/readonly. This is the command I use: //works on IE! :)...
  8. alshebli

    Document Object Question

    hi! :) i have a question. So here's the situation, i have an html file with a form. I have named the text inputs in the form, 'First1', 'First2', First3', .... since you don't know how many first names you can have. you can keep generating them. Anyway, that's not my problem. In order to keep...
  9. alshebli

    Is there a Javascript API?

    Is there something similar to the Java API on the Java website which lists all the function and attributes of all the different objects?? I have the O'reilly book, but that doesn't help much in alot of the cases. And Google isn't of much help either. Thanks. :)
  10. alshebli

    Making an input field ReadOnly

    Hi, So here's my problem. I wrote a program that opens a child window. I get data from the child window and output the value in an form's input value field in the parent window, like this: window.opener.document.myForm.elements[i].value = data; This works. Now, my question is I want the...

Part and Inventory Search

Back
Top