Welcome Guest, Not a member yet? Register   Sign In
How to replace submit form button with javascript
#1

[eluser]Unknown[/eluser]
Hi,

I'm codeigniter user for newbie. I have some problems work with my apllication form. How to replace code :
Code:
<input type="submit" name="save" value="Save"/>
and it can work properly at my fitur_add.php.
I'm trying code bellow :
a onclick="$('#form').submit();" class="button" name="save"><span>Save</span></a>
but this script is not work!

I want to make a beautiful button with this script. Help me please..
Thank's...




Theme © iAndrew 2016 - Forum software by © MyBB