PDA

View Full Version : calender date java plugin passing a varriable/database value arrrgh doesnt work



ccaammaaccccaazzii
07-30-2005, 03:54 AM
Howdy

Newby camacazi again , i have this calender script added to my code , but i cant pass to it my a variable or a database result ,so i can pass it on to my next form .... see below

'####################################
dim tempq
tempq=rsConn.Fields("QuestionNo") & "B"
%>

<script>DateInput(tempq , true, 'YYYYMMDD')</script>
%<


'################################

the code above doesnt work .....! it works if i do this

'####################################
%>

<script>DateInput( 'n' , true, 'YYYYMMDD')</script>
%<


'################################
But value 'n' wont be recognized by my next form because it dips into the database like the example no 1.

The problem is i need the "DateInput function/script - variable" to be the same as my "database result/variable"

any ideas
?
Camacazi


ps this didnt work either

'####################################
%>

<script>DateInput(<%Response.Write(rsConn.Fields("QuestionNo") & "B")%> , true, 'YYYYMMDD')</script>
%<


'################################

Twey
07-30-2005, 10:09 AM
This should probably be in the ASP forum.