xcislav Posted April 17, 2014 Share Posted April 17, 2014 <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 More sharing options...
KubeR Posted April 17, 2014 Share Posted April 17, 2014 Make a place for all the arrays. So instead of having the arrays all over the code,they will be organized in one place. To make it even shorter,don't use tab and put all in one line. e.g. <script>var a,b,c,d,e=0,f,g,h,i,j,k,l,m,n,o,p,q,r,s=0;</script> Link to comment https://forums.phpfreaks.com/topic/287844-possibility-of-reducing-tags/#findComment-1476505 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.