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. yngjzy12

    Shared Fax Server / Dial Rules

    Hey, I've setup a local Fax printer on our Windows 2003 Server and shared that fax printer out so workstations can send faxes through it. The problem is, on the server I can configure dial rules through the Send Fax Wizard which works fine. On the workstations, I do not see the option to...
  2. yngjzy12

    During Save, get connection error

    Hey, we've had no issues with InDesign CS3 until a few weeks ago. We currently have all our files on a Windows 2003 Server. At random times, when someone is editing a file, and then try to save it, we get this error message: "The Network Connection was lost for file \\xxx\xxx or modified by .."...
  3. yngjzy12

    Terminal Services / Lexmark Printer

    Hey, we're trying to get a Lexmark X4270 to print through terminal services. Before I start trying to explain the situation I just wanted to see if anyone has had any experience with using a Lexmark printer through terminal services? They have drivers for Windows Server 2003, but in order to get...
  4. yngjzy12

    innerHTML not updated 'til function completes

    Hey, heres one solution to this problem. The idea is to use setTimeout and closures. The setTimeout allows the browser to "breathe". Anyways, heres the code. <html> <head> <script type"text/javascript"> function processfile(theCnt) { if (theCnt == 0) { fso = new...
  5. yngjzy12

    Equivilent IE &quot;onpropertychange&quot; event in firefox?

    If I am understanding your question correctly, I had a similar issue come up in a project where I needed to fire the onChange event on a textbox after I changed the value through javascript. Heres a code snippet that fires the onChange event of a text box. Note, I've only tested on Firefox 2.X...
  6. yngjzy12

    Setting onChange() on-the-fly?

    The Firebug plugin for Firefox is a good one. https://addons.mozilla.org/en-US/firefox/addon/1843
  7. yngjzy12

    how to style dynamically created elements in IE

    Try: if (divClass) { oDiv.className = divClass; }
  8. yngjzy12

    click on back, forwad and reload button

    I believe BabyJeffy is correct. However, there are several javascript libraries that solve this problem using a hidden iframe and the URL hash. The Yahoo User Interface(YUI) is one library that solves this problem. You could look at the source code or use the library.
  9. yngjzy12

    offsetLeft, offsetTop problem in IE

    IE7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <script language="javascript" type="text/javascript"> function createAptBoxes() { var curTop=0,curLeft=0; var apt1start = "someTable"; //document.write("<div id='apt1' class='aptBox'>Start: " + apt1start +...
  10. yngjzy12

    offsetLeft, offsetTop problem in IE

    I commented out the document.write statement and it seemed to work fine in IE. Not sure if that is what's causing the issue.
  11. yngjzy12

    Help with Javascript to highlight DataGrid items

    Hey, I modified your code a little but this seems like a simple way of doing it. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <script language="javascript" type="text/javascript"> var curRowClicked = null; function startHighlight(){ var navRoot =...
  12. yngjzy12

    Converting object name to string for eval and innertext

    The reason that code works is because of closures. It is somewhat of a confusing concept but Google 'javascript closures'. Essentially, if you declare an inner function, that is, a function inside a function, the inner function has access to the variables in the outside function. Because of...
  13. yngjzy12

    Converting object name to string for eval and innertext

    Hey, I think I understand the problem. You're trying to use a reference to a local variable in your innerHTML. When the function test(obj) finishes, that obj variable no longer exist, so javascript searches for a global variable of that name; it doesn't exist and thats where your running into...
  14. yngjzy12

    OnClick and Hover events

    Hey, here is a very basic, simple way of doing this. By no means is this complete but hopefully it will give you enough information to find a solution that fits your needs. I think you'll need to use the events rather than using onblur although there is probably a way to do it. There are...
  15. yngjzy12

    Converting object name to string for eval and innertext

    First of all, I would strongly recommend not using eval as many experienced javascript programmers would advise. I'm not sure I understand what your saying, but it sounds like your trying to pass an object as a parameter to a function. In that case: cell.innerHTML = '<a href="#"...
  16. yngjzy12

    form validation dynamic number of select lists

    Hey, I think the first thing you need to do is get all the select elements. something like // get all select elements on the page var selectArray = document.getElementsByTagName('select'); Then once you have an array of all the select elements its a matter of looping through each one and...
  17. yngjzy12

    getElementById var is empty

    Hey, what is happening is your Javascript is parsing before the actual koko element is attached to the DOM. In other words, your trying to get properties to something that doesn't exist yet. Here is a quick rewrite of your program. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
  18. yngjzy12

    Using button to add rows to table

    Hey, check out http://developer.mozilla.org/en/docs/DOM:table#HTML_Table_Element_Interface Your looking for the method insertRow(). That's the DOM reference provided by mozilla with a lot of useful information. Give it a shot and see what you come up with.
  19. yngjzy12

    Textarea onFocus ..... only fring on text, not textarea

    Hey, it works ok for me. I edited some of your code, but here is what I had <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <script language = "javascript" type="text/javascript"> function makeCritEntry(){ var tbl var tbd var tr var td var ta...
  20. yngjzy12

    javascript autofill/suggest box problems

    Hey I had a similar issue. Here is an example file i had made. Note: I made this in Firefox 2.0. I am 99% sure IE has different way of handling events. If you use this approach you will need to do some research on it. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head>...

Part and Inventory Search

Back
Top