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 derfloh 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: static786
  • Order by date
  1. static786

    Select the "i"th Value in a List Box

    that worked great! many thanks.
  2. static786

    Select the "i"th Value in a List Box

    Hi, I have list box which is generated from a SQL query. What I want to do is select a specific value using an offset i.e select the 1st value. Anyone have any suggestions? Thanks
  3. static786

    submit form from another page and envoke the onSubmit command.

    the error does'nt always come up, sometimes the frame I'm trying to access the value mode from fails to load before the test, other times it works fine.
  4. static786

    submit form from another page and envoke the onSubmit command.

    for this one here I;m using frames: if(parent.map.document.mapForm.mode.value == null) { var newMode = "ZoomOut" } else { ... } the other one, I'm using a pop up page.
  5. static786

    submit form from another page and envoke the onSubmit command.

    also, if(parent.map.document.mapForm.mode.value == null) { var newMode = "ZoomOut" } else { ... } returns me an error saying that parent.map.document.mapForm.mode.value is null or not an object, if that was the case then by the above code should it not follow on to set the value of newMode...
  6. static786

    submit form from another page and envoke the onSubmit command.

    the form from the window from which I want to pass the vakue from: <form name="formTemp"> <input name="bbox" type="text" value="<cfoutput>#bbox#</cfoutput>"> <script language="JavaScript"> window.opener.document.navigateForm.bbox.value = document.formTemp.bbox.value...
  7. static786

    submit form from another page and envoke the onSubmit command.

    I know, thats why I'm using it. The page I;m sending the message from is a page opened by the page I want to send the message to.
  8. static786

    submit form from another page and envoke the onSubmit command.

    thanks for the replies, I' tried to set it as u suggested, but it does'nt seem to work: window.opener.document.navigateForm.bbox.value = document.formTemp.bbox.value; window.opener.document.mapLoad(); the first line where I set the input box works fine, the second line returns and error...
  9. static786

    submit form from another page and envoke the onSubmit command.

    It does'nt work, if i submit a form from another frame, it submits the form but does'nt envoke the onSubmit call on that page (I want it to call a javascript function on that page when it submits). anyone know of a workaround? thanks.
  10. static786

    Any way to set the value of an input box from a separate page?

    basically i want to set the text box on another page to a specific value, and then submit that form on that page. This is the code I had when I was using it as a frame (instead of using it as a separate page): <script language="JavaScript"> parent.map.document.formMap.boundarybox.value =...
  11. static786

    Any way to set the value of an input box from a separate page?

    I know how do do it using frames, but I'm tring to this using a different page altogethor? Can someone help?
  12. static786

    How to determine if object is null/empty

    I'm rather new to programming with JS, so I may be wrong - but try this: function SelectedItems(){ if(window.document.myDataEntryForm.ListboxMinor.options.length == null) { alert("No Items Exist"); { else { var intCount = window.document.myDataEntryForm.ListboxMinor.options.length; var...
  13. static786

    Pass through value in text box in URL.

    I found the method of updating the anchors very usefull. Thanks.
  14. static786

    Pass through value in text box in URL.

    I have an input box and I want to take the value entered in the imput box and pass it as a value through the url. Such that: <input name="selected" type="text"> <a href="search_action.cfm?zoom=javaScript:document.pcSearch.selected.value">Zoom</a> But it does'nt work?
  15. static786

    Append to a list?

    cheers.
  16. static786

    Append to a list?

    I'm trying to create a lis for which every time the code is executed, it appends the new values to the end of the list. I've tried the following, and it does'nt work. Can someone provide suggestions. (for some reason it always equals null?) if(listXY == null) { alert("list eq null"); var...
  17. static786

    Why would would it not evaulate the function?

    okay, thats great. thanx.
  18. static786

    Why would would it not evaulate the function?

    cheers for the reply. the solution u provided works, but I use alot of flout numbers throughout the code - will i need to use the parsefloat() method on every float variable?
  19. static786

    Why would would it not evaulate the function?

    var newXmin = minX + mapXChange; where the respective values equal: minX = 392362.036001 and mapXChange = -7110.230129734288 alert(newXmin); gives the alert box saying "392362.036001-7110.230129734288", any reason why it does it not show the evaluated value i.e. 385251.8059? I tried testing...
  20. static786

    Parse out List Variable

    I have a variable bbox which equals 4 float values, seperated by commas. Can someone suggest the simpliest way I can extract out each of the values? (the only way I can think of now is by using a for loop with a substring function, but there must be an easier way?)

Part and Inventory Search

Back
Top