Welcome Guest, Not a member yet? Register   Sign In
Form button helper
#2

[eluser]mddd[/eluser]
Using the anchor here is wrong. The anchor function creates a html link! Including the <a > around it. That is not something you can put in a javascript onclick property.
I don't see why you couldn't put the string 'location.href ...' inside your $data = ... array. That would do it. It's not the form_button helper that is your problem, but the anchor helper.


Messages In This Thread
Form button helper - by El Forum - 04-12-2010, 05:17 PM
Form button helper - by El Forum - 04-13-2010, 12:13 AM
Form button helper - by El Forum - 04-13-2010, 07:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB