Jump to content
php.lv forumi

this lietoshana zem mozillas


andre

Recommended Posts

shitaa nesanaak... kods ir shitaads :

 

<td><img onclick="return copy_clip(this.src)" border="0" src="46.gif" width="66" height="56"></td>

 

copy_clip vienkaasrhi iekopee clipboardaa tekstu. ja uzliek copy_clip('bla bla bla') tad viss notiek zem mozillas, bet ar this.src nekaa negrbi kopeet.

Link to comment
Share on other sites

<script type="text/javascript">
 function copy_clip() {
alert(arguments[0]);
 }
</script>
<img src="http://www.google.lv/images/logo_sm.gif" onclick="return copy_clip(this.src)">

 

it kā izpildās uz visam mozilām kas te man ir, ka tik vaina nav iekš copy_clip.

Link to comment
Share on other sites

×
×
  • Create New...