Results 1 to 7 of 7
Jul 5, 2010, 00:33 #1
- Join Date
- Dec 2008
- 0 Post(s)
- 0 Thread(s)
Basic function question with passing parameters
Ok, I'm still learning the basics of JS, and I'm stuck in passing parameters via a function.
Why is this script not showing up the number 31 in the test div ?
If I do alert(content); or alert(place); it alerts the right stuff, so it passes the value correctly.
Perhaps the problem is by getting the element by ID. I already tried with different types of ''"", without '", with + with escape things\, but I obviously have no clue what the right approach would be for this.