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 Chriss Miller 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 Moonpie10

  1. Moonpie10

    Parent/Child Communication not working

    Below is the view source for the second jsp. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- InstanceBegin...
  2. Moonpie10

    Parent/Child Communication not working

    Hi, I have produced a form in jsp that has a search button. When the user clicks the search button a second jsp pops up and prompts the user to enter some search criteria. The criteria brings back a list of company names, just a list straight from the result set, this is NOT an input field or...
  3. Moonpie10

    Pass Parameter from list Popup -- So Close

    destinationObj is the "newpartner" input field on the parent form and sourceobj is the selection from the out.println..etc
  4. Moonpie10

    Pass Parameter from list Popup -- So Close

    Hi All, I have a jsp(1) that when a button is clicked brings up jsp(2) which is a search page. Jsp(2) shows a list and when a user clicks on an item in the list jsp(2) closes and should populate a field on jsp(1). It is partially working, I am gettin "undefined" in the jsp(1) field instead of...
  5. Moonpie10

    Parse a String?

    Got it! Thanks for your time.
  6. Moonpie10

    Parse a String?

    ..below is the view source code... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- InstanceBegin template="/Templates/header_contentpane_contentarea.dwt"...
  7. Moonpie10

    Parse a String?

    Hi, I have some javascript that fills a select box based on the selection in another select box. The fill is coming from a database of which I have put the data into a string into my javascript. I want to enhance this script to read the string and only select certain items from the string...
  8. Moonpie10

    Loop Through Array

    Hi, I am trying to loop through an array where it meets the criteria in a selection from a list box and then output to another select box, but I keep getting an 'undefined' is null or not an object error. I can't seem to find the reason for this error. Can someone look at my script and see...
  9. Moonpie10

    Select Box Element as SQL parameter

    That was easy to do for the second box because I only have 7 regions so I could break them into 7 separate arrays. But with states and countries there are many more so rather then create all of those arrays I thought that if I could query the database based on the region selected in the first...
  10. Moonpie10

    Select Box Element as SQL parameter

    the 1st box is region: USA, Canada If 1st box = USA then the 2nd box (the states are stored in an array): CA, UT, etc if 1st box = USA then the 3rd box should contain what is stored in the database already for that region ie., NC, PA. For the 3rd box the data is stored as: ID, Region, State...
  11. Moonpie10

    Select Box Element as SQL parameter

    Hi, I have gotten some great help from here before and I am hoping I can get some more. I have a jsp page with 3 select boxes with both the 2nd and 3rd boxes dependent on the first. I have gotten the 2nd box to work using an array and the onchange event, but the 3rd box is giving me fits! Based...
  12. Moonpie10

    Javascript Array

    okay, I tried stepping through it but am now getting nothing, sorry but I am new to javascript. Here is what i have: <script language="javascript"> function setOptions(o,stateString) { var state = new Array(<% Vector stateList = new Vector(); admin.getState(stateList); String stateString =...
  13. Moonpie10

    Javascript Array

    I thought I was stepping through it when creating the vector? Do I need to do this again for each option?
  14. Moonpie10

    Javascript Array

    Hi, I have a java vector that I have formatted and now i need to get to work with a javascript function. Essentially if someone selects from box1 the javascript function will populate select box2. My problem is that when populating select box2 with the data it is appearing in the wrong format...

Part and Inventory Search

Back
Top