Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
Debug inline javascript in google chrome (Read 585 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Debug inline javascript in google chrome
08.09.17 at 09:31:39
 
Debug inline javascript in google chrome
 
Inline javascript code is not seen as a source by Google Chrome unless you add a comment at the end of the script block.  
The following comment will add the inline js code as source: inline.js in the chrome debugger.
 
<script type="text/javascript" >
 ... the code lines ...
//# sourceURL=inline.js
</sc
ript>

 
It is also necessary that the type of the script is set to text/javascript.
Back to top
 
« Last Edit: 08.09.17 at 09:38:41 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1