Jump to content

Possibility of reducing <script> tags


xcislav

Recommended Posts

<input onkeyup="s?e=Date.now():s=Date.now()"onblur="c=this.value.length;this.value+=c/(e-s)"><script>s=0</script>

<script>s=0</script>

Once this executes - it's completely needless. But without s=0 there are no s, e variables. With = OK.

How is it logically possible to reduce keeping it short?

Link to comment
https://forums.phpfreaks.com/topic/287844-possibility-of-reducing-tags/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.