Topic: stumbling down a long dark hallway (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=31159" title="Pages that link to Topic: stumbling down a long dark hallway (Page 1 of 1)" rel="nofollow" >Topic: stumbling down a long dark hallway <span class="small">(Page 1 of 1)</span>\

 
I X I
Paranoid (IV) Inmate

From: beyond the gray sky
Insane since: Apr 2004

posted posted 07-23-2009 23:34

and back to my cell here at the asylum

I had a glorious idea strike me the other day, and I'm sure I'll eventually need some help from this great network of inmates.

so here I am, announcing my glorious return to programming.



Life is too short, so love the one you got (Bradley Nowell)

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 07-24-2009 00:18

Return to programming? RETURN to programming?

Never left. It's in you. Like toxoplasma.

I X I
Paranoid (IV) Inmate

From: beyond the gray sky
Insane since: Apr 2004

posted posted 07-24-2009 03:47

very true, but I'm completely out of practice. I haven't done much of anything since early 2006
that's over 3 years! wow, I didn't intend it to be that long.

for anyone interested, I'm designing a website for a guitar effects pedal tone database. it will store the different makes/models in one table, and tones in another. I have a static version of what I'm eventually looking to achieve hacked together at http://www.ixifx.net/effectsSTATIC.html

I'm hoping I will be able to do everything I want with php/mysql and javascript.

I'm also hoping enough of the gurus are still around to be able to help me when I run in to problems, which I'm sure I will



I know the pieces fit, 'cause I watched them fall away (Maynard J. Keenan)

I X I
Paranoid (IV) Inmate

From: beyond the gray sky
Insane since: Apr 2004

posted posted 07-24-2009 09:16

so if any of you wonderful gurus are around, have a look at http://www.ixifx.net/workspace.php

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;
	}



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



Of all the things I've lost, I miss my mind the most (Ozzy Osbourne)



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu