php - Error onclick button code wrong? -
i have onclick
on button not working properly.
<a href="javascript:void(0)" class="button" onclick=\'websiteopen("'.$site->page_id.'","fb"), popupcenter("http://nullrefer.com/?'.$site->facebook.'","website", "'.$site->id.'", "'.$site->title.'", 1000,500,"fb");jqxalert.alert("verifying..<img src=\'http://website.com/_template/images/load.gif'>");$(this).fadeout().delay(4100).fadein();\'><b class="glyphicons thumbs_up" style="height:8px;vertical-align:baseline;padding:2px 9px"><i></i></b> '.$lang['sp17'].'</a>
it wrong in part of code:
jqxalert.alert("verifying..<img src=\'http://website.com/_template/images/load.gif'>");
what issue?
you formatting wrong, needs follows:
<a href="javascript:void(0)" class="button" onclick="jqxalert.alert('verifying...')"> <img src="_template/images/load.gif" height="16px"> </a>
edit: answer assumes code above using plugin behaves in similar manner window.alert(); similar -> http://www.jqwidgets.com/jquery-alert-popup/
Comments
Post a Comment