Hi pals,
I am also in onclick problem, my code works fine in FF,OPERA,Chrome but not in Safari.My problem is this onclick.
1. <?php if(has_access($userarray,'view_serverdet','server')){
2. if (('Y' == $webpanel_ajax) && ('N' == $server_details || $usergroupid == "1")) { ?>
3. <span class="expand" id="exp<?php echo $server_row['id']?>" onclick="view_details('<?php echo $server_row['id'];?>','page','<?php echo $shade;?>')">+</span>
4. <?php }
5. } ?>
The corresponding function like:
function view_details(id,from,class) {
alert("id is:"+id);
alert("from is:"+from);
alert("class:"+class);
//some other codes
}
In other Browsers these values alert, but in Safari not. Why Pls Give me a solution
ASAP.I use Safari 5.0.3 in Fedora 13 using Wine.
I give that onclick in <span> is that the problem , advise me.
Thankfully
Anes P.A