- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- June 2004
- Status:
- offline
- last visit:
- 21.12.07
- Posts:
- 36
Edit: Bah, I hate spelling mistakes. Make that "javascript" in the subject
I have a page with some dropdowns that I want to fill with the current date on page load of the htmlpage.
The code to do so is:
Quote
//populatedropdown(id_of_day_select, id_of_month_select, id_of_year_select)
window.onload=function(){
populatedropdown("daydropdown", "monthdropdown", "yeardropdown")
}
However, it doesn't appear to be working and I don't think it's the script. The htmlpage parses the quotes in the script to be " so I'm thinking that might have something to do with it.
Is this the case? And if so is there any way I can prevent this?
edited by: veinoM, Dec 21, 2007 - 03:31 PM -
- rank:
-
Professional
- registered:
- September 2002
- Status:
- offline
- last visit:
- 19.11.08
- Posts:
- 879
.764 or .8RC2?
Normally PostNuke should filter all JavaScript from inputs for security.
--
best regards from Kiel, sailing city
Steffen Voss
Member of the PostNuke Steering Committee
Read The Zikulan's Blog
