Announcement

Collapse
No announcement yet.

Div as an Input Button?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Div as an Input Button?

    Hi,

    Is it possible to use a div as a link instead of a button/image when using forms?

    Thanks,
    Paul.

    #2
    I'm not too clear what you want here. Are you wanting to use something other than a SUBMIT Button or IMAGE Button to submit a form?

    If so you'd have to use some JavaScript within the entity that you want clickable e.g.

    <form name="myform" ..... >
    <div onclick="document.forms.myform.submit()">Click me</div>
    </form>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hi Norman,

      Yep - you said it better <s>.

      I am off to try your way now. Thanks for your help.

      Paul.

      Comment

      Working...
      X