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 Mike Lewis 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. tiagompvieira

    get html element reference/object without using getElementById

    Actually, there is another way, it's quite simple, I can't get the div's id but I can write inside the div, I don't need to change the current div, I can create whatever I want inside. So now, I have a javacript function in the header that is called in every div reciving parameters that will...
  2. tiagompvieira

    get html element reference/object without using getElementById

    I didn't know it was possible to send parameters to a javascript file with "?var=value". my script can't recieve any paramenters, it has to find his parent. I'm using a web development tool called outsystems, and don't have a good control over the elemens. the reason that the script cant...
  3. tiagompvieira

    get html element reference/object without using getElementById

    yes, the javascript file (JsSource.js) is the same for all divs, I know it could be better if I put the code in the header and call a function but, this is how I need the code. do you have any ideia how to get the div were the script is called?
  4. tiagompvieira

    get html element reference/object without using getElementById

    i'll have lots of divs ... <div id="firstDiv"> <script src="JsSource.js" type="text/javascript"></script> </div> <div id="secondDiv"> <script src="JsSource.js" type="text/javascript"></script> </div> ... the JsSource.js file will have a script that will change the current div, i will not know...
  5. tiagompvieira

    get html element reference/object without using getElementById

    hi, i'm trying to create a scrit that gets one html element but, i don't know the id. i have something like: ... <div id="firstDiv"> <script src="JsSource.js" type="text/javascript"></script> </div> <div id="firstDiv"> <script src="JsSource.js" type="text/javascript"></script> </div> ... --...

Part and Inventory Search

Back
Top