Welcome Guest, Not a member yet? Register   Sign In
js param...
#1

[eluser]Unknown[/eluser]
Hi everybody,

I have a problem with this code below.
My syntax is incorrect because the js/Java plugin I use, need the exportMethod('param1') terms with single quotes before and after the param1...

Is there a way to make it work?

Code:
// Submit button
    $js = 'onClick="exportMethod('param1')"';
    $data_submit = array(
    'type' => 'Submit',
    'content' => 'Search this now!',
     );
        
    echo form_submit($data_submit, $js);

:-S

Best regards.

Jim.


Messages In This Thread
js param... - by El Forum - 08-12-2011, 06:16 AM
js param... - by El Forum - 08-12-2011, 06:44 AM
js param... - by El Forum - 08-12-2011, 08:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB