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 strongm 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. bigS47

    dynamically created form elements not appearing on server side

    Ok it turns out that BillyRayPreachersSon was right. I was certain I had the form around the table but when I check I found that, though it was around the table, it was between to trs, so I moved it to the very beginning of the table in which the table that was being modied was nested into, and...
  2. bigS47

    dynamically created form elements not appearing on server side

    Yes, they are put into arrays (or they should be). I'll look into it, but I don't think thats the problem.
  3. bigS47

    dynamically created form elements not appearing on server side

    sure the website is here: http://steffan.hostingposts.com/dlog/day.php?user=slloyd&pass=c3RlZmZhbnBhc3M=&day=13&month=7&year=2006 -Don't go off this page, the other pages are still being made, you could mess up the database. -Go to the form at the bottom of the page. "Add a training" -Change...
  4. bigS47

    showModelessDialog AND "modal" attribute

    Ok now, I'm confused
  5. bigS47

    dynamically created form elements not appearing on server side

    Yes, the form is around the table...
  6. bigS47

    showModelessDialog AND "modal" attribute

    You could always just do this: onClick="javascript:if(navigator.userAgent.indexOf('Firefox')!=-1) window.open('NutritionFacts/RESPECTVan.aspx', 'newWin', 'width=600, height=510, toolbar=0, directories=0, status=0, scrollbars=0, resizable=0, menubar=0, modal=yes')...
  7. bigS47

    dynamically created form elements not appearing on server side

    Hey everybody, I'm not sure wether I should put this in the php forum or this forum, so if you know javascript and php, please help! I am creating a form in which the user has the ability to create elements dynamically. These elements are created using this code: box="<input name=\"sets\"...
  8. bigS47

    Error: uncaught exception--&gt;What is this?

    Thanks a lot, that makes sense.
  9. bigS47

    Error: uncaught exception--&gt;What is this?

    Ya it's because I mainly just wanted to know what the error meant, so I could change the code accordingly. I could give you everything, but it is very long, and I doubt anyone would want to go through the whole thing.
  10. bigS47

    Error: uncaught exception--&gt;What is this?

    It doesn't say the error line. (well it just says the line that the javscript starts at, not any line in particular). I really doubt that this is an error with syntax, but I'm pretty sure that it has to do with something with something that the javascript is not able to do or something like...
  11. bigS47

    Error: uncaught exception--&gt;What is this?

    The error occurs when this function is called upon: function addWorkout(value,w){ var typea=null; typea=new Array(); nullOptions(w,document.getElementById(w+"").getElementsByTagName("select")[1]); if(document.getElementById(w+"...
  12. bigS47

    Error: uncaught exception--&gt;What is this?

    I'm making a script and I seem to be getting this error: Error: uncaught exception: [Exception... "Index or size is negative or greater than the allowed amount" code: "1" nsresult: "0x80530001 (NS_ERROR_DOM_INDEX_SIZE_ERR)" location: "***"] I have looked on google for an answer, and lots of...
  13. bigS47

    Form elements with the same name

    ok I tested the code, but it still doesn't work. I have done more tests though and know what the problem is, although I still don't know how to fix it. The thing is I'm making a training log, and for each "Training" an athlete can do as many "interval" workouts as he wants. I have a drop down...
  14. bigS47

    email protection

    you can also do this: <script language="javascript"> a="mai"; b="lto:"; c="username"; d="server.com"; document.write("<a href=\""+a+b+c+"@"+d+"\">"+c+"@"+d+"</a>"; </script> I doubt any spiders would get your email from that.
  15. bigS47

    Form elements with the same name

    I'll try that code. The page is loaded though, that part I showed was just a part of a function that is called by an onChange event.
  16. bigS47

    Form elements with the same name

    Hey everyone, I am currently making a form in which I need to be able to access multiple form objects of the same name. I was under the impression that if you had 2 form elements with the same name an array would be automatically created so you could then access either of the elements like so...
  17. bigS47

    Text events

    Hey everybody, I was just wondering if there is a way with javascript to make javascript run a function when the user types something into a text field - before he blurs it. I'm not looking for the onChange thing, I mean once the user types something into the textarea/textbox Thanks in advance...
  18. bigS47

    Running a function through a button -&gt; submitting a forum

    if I understand correctly, you could write this in the function: elementsOrigVal=new Array(); for(i = 0; i < document.forms[0].elements.length; i++) { elementsOrigVal[i]=document.forms[0].elements[i].value; document.forms[0].elements[i].value =...
  19. bigS47

    Problem with refering to form elements

    Thanks soo much. I was trying so many different things, i forgot about something as simple as that.
  20. bigS47

    Problem with refering to form elements

    Usually when you want to refer to a form element you do this: document.formname.elementname.value however, the way my javascript is made i need to use a variable that stores the name of the element to refer to it. For example: var a = namefield; document.formname.a.value; However, all this...

Part and Inventory Search

Back
Top