I am also in onclick problem, my code works fine in FF,OPERA,Chrome but not in Safari.
My problem is this onclick.
Expand|Select|Wrap|Line Numbers
- <?php if(has_access($userarray,'view_serverdet','server')){
- if (('Y' == $webpanel_ajax) && ('N' == $server_details || $usergroupid == "1")) { ?>
- <span class="expand" id="exp<?php echo $server_row['id']?>" onclick="view_details('<?php echo $server_row['id'];?>','page','<?php echo $shade;?>')">+</span>
- <?php }
- } ?>
Expand|Select|Wrap|Line Numbers
- function view_details(id,from,class) {
- alert("id is:"+id);
- alert("from is:"+from);
- alert("class:"+class);
- //some other codes
- }
ASAP.I use Safari 5.0.3 in Fedora 13 using Wine.
Thankfully
Anes P.A