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

  • Users: Codebunnie
  • Order by date
  1. Codebunnie

    (Noob Help) Passing/Reading Arrays

    oh my goodness, why didnt i see that before! thanx, let me try this.
  2. Codebunnie

    (Noob Help) Passing/Reading Arrays

    I made the change you suggested, and still the same thing happens. It gets to the alertBox ("here") and flashes it 3 times for the 3 (or however many times for the amount of elements in thirdSplit).
  3. Codebunnie

    (Noob Help) Passing/Reading Arrays

    Thanx so much for all the help guys. I am now in the last stages of getting this all done, but now I am having difficulty comparing the two arrays. Ive tried a couple of different ways in looping and no dice. The highlighted loop is the one I have had the most luck in...the other commented out...
  4. Codebunnie

    (Noob Help) Passing/Reading Arrays

    OK everything works ok....only one problem: (on checking the URL for a question mark) if (fullURL.search("?")){ ..... or similarly: if (fullURL.match("?")){ .... give me unexpected quantifier errors...ugh. If i use other characters, it works though. It doesnt seem to like the "?
  5. Codebunnie

    Show/hide question

    Comming from the Noob: I had a similar problem a few weeks ago. My client came to me with the idea of getting a nav menu similar to yahoo's and wanted me to do it in javaScript. I had never touched JavaScript prior to 3 weeks ago. I understand things best by looking at examples. So i found a...
  6. Codebunnie

    How to Hide Javascript from IE5/Mac

    Question From a Noob: Doesnt the <noscript> tag bypass (hide) JavaScript from browsers that dont support it?
  7. Codebunnie

    (Noob Help) Passing/Reading Arrays

    it makes perfect sense! Awesome thanx!
  8. Codebunnie

    (Noob Help) Passing/Reading Arrays

    Well the name for each textBox is Field, which is passed in the URL. We can grab the variable from the url, but Field appears more than once, if more than one checkbox is selected. ie...URL: https://testbed..../script/Directory2.asp?TypeSearch=documents&Pattern=eee&Field=title&Field=approach...
  9. Codebunnie

    (Noob Help) Passing/Reading Arrays

    Nope, its not redirecting, and Nope, we cant use cookies. My teamate and I were looking at using an ASP session variable, but how would we set that session variable to the javascript array of boxVals? Meaning, hows about we take the array boxVals and store it in the session variable to output...
  10. Codebunnie

    (Noob Help) Passing/Reading Arrays

    What I am After: This is a search navigation form. The form has four checkboxes which represent categories that the user can search on. When the page first loads, all the checkboxes should be checked by default (this is what my client wants..i dunno why) The user then unchecks any fields...
  11. Codebunnie

    (Noob Help) Passing/Reading Arrays

    I made the change you suggested. It works to get the checked boxes but doesnt get the values of the all the fields. For example, if the user checked 3 boxes, it will output the value of the first element in the array, and then undefined for the remaining two. Also, my main problem is that...
  12. Codebunnie

    (Noob Help) Passing/Reading Arrays

    Okay, taking the advice into account, i re-wrote some code in my Functions. But When the user submits the form, the value in BoxVal (the array of elements i am passing) gets reset to zero. Also for boxVals, It seems as if it gets filled with the total amount of boxes, and only assigns values...
  13. Codebunnie

    (Noob Help) Passing/Reading Arrays

    Hey all.... I am new to JavaScript, so bare with me on this. Im all googled out trying to figure out what is going on with this code. I am trying to pass an array to a function and then output its contents, but I keep getting the term [object] or Undefined when the returned array is...

Part and Inventory Search

Back
Top