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 MikeeOK 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: *

  • Users: lmmoreira
  • Content: Threads
  • Order by date
  1. lmmoreira

    A Kind Of Include

    Hi I'm trying to do some kind of Include For JavaScript. Take a Look: function include(path, file, type) { var head = document.getElementsByTagName('head')[0].firstChild; var result = false; for(head; head != null; head = head.nextSibling) { if((type == "script")||(type == "css")) {...
  2. lmmoreira

    Focus on InputText OnChange

    Hi, There are some validations on my JavaScript code I prefer to do on input-text's "onchange"; The validation is ok, but when something is wrong I run an alert and should turn the focus for this.focus(); But, the this.focus() doesn't work and the validated control lost the focus; Like...
  3. lmmoreira

    IE doesn't refresh the screen when a function is running

    Hi there, I have a cole like this: function cCarregar(){ var div = document.createElement('div'); div.id = 'backCarrega'; div.className = 'back'; document.getElementById('lpDivs').appendChild(div); var img = document.createElement('input'); img.type = 'image'...
  4. lmmoreira

    Make a function from a String

    Hello, I need your help please. Do you know if there is any way to make a JavaScript function from a String. For Example: Here, there is a code of a function in the sString variable. var sString = "function(){ alert('test'); }"; The Problem is here. Is there any way to run the function in...

Part and Inventory Search

Back
Top