set a default value i a tag

i have try the "ivalue" attribute but it don't work
i just want to know the exact syntax to set it

thanks in advance!

Comments

  • I know exactly how:
    [code]



  • Thank you Superjoe

    it works well but, have you an idea how to dynamicaly set a default option? My option box is dynamicaly filled like this (i know it is ASP in a HTML board) :



    <%
    strsql = "SELECT * FROM dbo.Destination"
    set rs = Server.CreateObject("ADODB.Recordset")
    rs.Open strsql, conn

    while not rs.eof%>
    <%= rs("iDestinationID")%> - <% = rs("cDestinationNom")%>

    <%rs.movenext


    Wend%>




    Thank you in advance!!

  • :
    : <%
    : strsql = "SELECT * FROM dbo.Destination"
    : set rs = Server.CreateObject("ADODB.Recordset")
    : rs.Open strsql, conn
    :
    : while not rs.eof%>
    : <%= rs("iDestinationID")%> - <% = rs("cDestinationNom")%>
    :
    : <%rs.movenext
    :
    :
    : Wend%>
    :
    :
    :
    :
    : Thank you in advance!!
    :
    :
    That code looks like greek to me!!
    I'm a beginner.
    [red]sorry[/red]



    [hr]
    [blue]Visual Basic[/blue]
    ~[b]Andy;-)[/b]~[italic]SuperJoe30:-([/italic]~
    My Website:
    http://www.geocties.com/joesarcade :-(
    [red]JavaScript[/red]
    [hr]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories