What I understand from your message is that you want to have a 'dynamic' image as a button. An image that changes when the cursor is on the button, or not, which can't be achieved by HTML. The only solution I see is using JavaScript. I don't see why you don't want to use javascript because you use it to change the button's image.

Make something like

<a onclick='JavaScript:document.forms[0].submit();' href='Javascrip:void(0);' onMouseOver.........>

Like this, the form is submitted normally.

Thomas

At 12:19 19/01/2004, you wrote:
I have a form and my plan is to set all the fields (using DynaActionForm)
when an ok 'button' is pressed, the problem is, I'm not using a 'submit'
action to submit it, but an image, the code I have at the moment is:

..... lots of other code here
[]
..... more code here basically, I want the action in the form (addNewScope) to be submited when I do onclick (where the question marks are). I don't want to use Javascript, I want call the action... I have done this before using but this is not what I'm trying to achieve here. I think I might be confused... :-/ regards Leticia --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to