zadjali2000
01-12-2003, 06:47 PM
Hi All,
I'm doing a script to get the values from a radio button and i have a function like this:
function calc(pages, flash, site, host, maint )
{
var t_page = pages
var t_flash = flash
var t_site = site
var t_host = host
var t_maint = maint
}
</script>
and the radio button onClick event is
<input type="radio" value="10" name="number_of_pages" checked onclick="calc (this.value)"> Ofcourse this for pages
now i want to do for the second one(flash) without changing the first one (pages) i tried this but for sure i didn't work
<input type="radio" value="10p" name="number_of_pages" checked onclick="calc ( , ,this.value)"> It does give me syntax errors;
So please can u help me with that :rolleyes:
I'm doing a script to get the values from a radio button and i have a function like this:
function calc(pages, flash, site, host, maint )
{
var t_page = pages
var t_flash = flash
var t_site = site
var t_host = host
var t_maint = maint
}
</script>
and the radio button onClick event is
<input type="radio" value="10" name="number_of_pages" checked onclick="calc (this.value)"> Ofcourse this for pages
now i want to do for the second one(flash) without changing the first one (pages) i tried this but for sure i didn't work
<input type="radio" value="10p" name="number_of_pages" checked onclick="calc ( , ,this.value)"> It does give me syntax errors;
So please can u help me with that :rolleyes: