Thread: BB Code Enhancements - "select all" feature for BB Code : CODE/HTML/PHP
View Single Post
  #20  
Old 07 May 2017, 14:51
Raptor Raptor is offline
 
Join Date: Nov 2001
Update:

Select All works in Chrome Version 57.0.2987.133 (64-bit)

Stopped working after update to Chrome Version 58.0.3029.96 (64-bit)

Problem: the last parameter to the "setBaseAndExtent" shouldn't be the text length, it should be the child node count.

https://developer.mozilla.org/en-US/...tBaseAndExtent

I'm not versed enough in Javascript enough to fix this properly. What does make this work is by removing the following:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and the } after the else

So the new Javascript in the headinclude is


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Hope this helps someone.

If there's anyone who can post the correct java solution without removing any code that would be great.

My vB is 4.2.4 btw
Reply With Quote