|
|
#1 |
|
How to run a javascript
How can I run a javascript just from my computer? I'd like to test a script out.
|
|
|
|
0
|
|
|
#2 |
|
Google Chrome? View > Developer > Javascript Console
__________________
|
|
|
|
0
|
|
|
#3 |
|
Thanks, do I just enter the script info or what? Can I PM you the script code?
Last edited by dinggus; Feb 6, 2013 at 11:06 AM. |
|
|
|
0
|
|
|
#4 | |
|
Quote:
Code:
<!DOCTYPE html> <html> <head> <!-- put CSS links and meta tags here --> </head> <body> <!-- Any elements you need for your script to work --> <script src = "path to your script"></script> </body> </html> Code:
<body onload="entryfunction()"> Code:
<script>
(function (){
// All your code here or call your entry function.
}());
</script>
|
||
|
|
0
|
|
|
#5 |
|
__________________
TI-99/4A, tape cassette, 12" B&W Zenith |
|
|
|
0
|
|
|
#6 |
|
If your code depends on other libraries such as jQuery, you can try it out online at jsfiddle.net
You can then share it with other people if you want to show them about your code (e.g. to get help with it). |
|
|
|
0
|
|
|
#7 | ||
|
Quote:
Quote:
|
|||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 10:48 PM.









Linear Mode
