use ajax in elgg forms

hello ever body .

i want to use ajax to send data from my form to action .

but it dose not worked .

i do register action . but my form 's data  does not send to action .

how can i use ajax ?

i want  to create a register form that register user without reload page . 

and this page has 3 step .

step one : get the user data

step 2 : send verification code t user mobile

step 3 : if verifying code was true then insert data  to database .

but i cant .

please guide me .

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking