OZONE Asylum
Forums
OZONE
stumbling down a long dark hallway
This page's ID:
31159
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
so if any of you wonderful gurus are around, have a look at [url]http://www.ixifx.net/workspace.php[/url] this is the pedal creation page. the idea I'm having for this is to use javascript to read the settings and spit out some xml, which will be sent to a hidden text field in the form then the form will be submitted to my pedals database. I was finally able to figure out how to read the text in the settings, but I'm getting the word 'undefined' at the beginning of the first field. anyone know what could be causing that? [code] function writeXML(){ var myTable=document.getElementById('settings'); var len=myTable.getElementsByTagName("input").length; var working; var count=0; alert("Working Variable Check - \n myTable = " + myTable + "\n len= " + len + "\n count = " + count); for (count=0;count<len;count++){ working = working + myTable.getElementsByTagName("input")[count].value + "\n"; alert(working); } alert("Done"); document.getElementById('xml').value = working; } [/code] also, I have only tested this in FF 3.0.12 on xubuntu jaunty, so other browser tests would be helpful as well. thanks in advance, john [url=www.IXIfx.net][img]http://www.IXIfx.net/asylum/sigs/Guitar.gif[/img][/url] [sigrotate] Of all the things I've lost, I miss my mind the most (Ozzy Osbourne)| Some people say I'm a dreamer, but I'm not the only one (John Lennon)| Life is too short, so love the one you got (Bradley Nowell)| I focus on the pain; The only thing that's real (Trent Reznor)| I know the pieces fit, 'cause I watched them fall away (Maynard J. Keenan)| Take your time, hurry up; the choice is yours just don't be late (Kurt Cobain)| You could stand me up at the gates of hell, but I won't back down (Tom Petty)| Do you serve a purpose or purposely serve (Corey Taylor)| You know I'd like to keep my cheeks dry today, so stay with me and I'll have it made (Shannon Hoon) [/sigrotate]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »