Sign in to follow this  
Followers 0
dgz

Javascript link to a function

2 posts in this topic

#1 ·  Posted (edited)

Here is the code:

<div class="mod_action" id="app21147267565_mod_action-5" fbcontext="2a23c6afc836"><div class="mod_item"><a onclick="fbjs_sandbox.instances.a21147267565.bootstrap();return fbjs_dom.eventHandler.call([fbjs_dom.get_instance(this,21147267565),function(a21147267565_event) {a21147267565_do_job('5','bd0edc56bb6e53d35c927081624b266e0554d334');},21147267565],new fbjs_event(event));return true">Do the job</a></div></div>

function a21147267565_do_job(a21147267565_id,a21147267565_sig) {
    a21147267565_document.getElementById('id').setValue(a21147267565_id);
    a21147267565_document.getElementById('sig').setValue(a21147267565_sig);
    a21147267565_document.getElementById('do_job').submit();
    return true;
}

I first used _IEAction: I can make focus on the link, but not click.

I tried all solutions I found in the forum, but no luck, Any idea?

Edited by dgz

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0