Hello,
I didn't knew where to post this question so I did in general.
I use Eclipse pdt for my work.
And sometime I have some javascript code that isn't inside a script tag (php will add it later).
So, eclipse think it's html code, and give me error, and he don't help me with my javascript.
Do anybody know a way to force some block of code to be interpreted as javascript without adding the <script> tag?
4 replies to this topic
#1
Posted 13 October 2011 - 03:43 PM
|
|
|
#2
Posted 13 October 2011 - 10:46 PM
None that I know of; why do you need to not use the SCRIPT tag?
#3
Posted 14 October 2011 - 02:49 AM
I send the script via a function,
and at the end of my script, I minify everything inside one script
without script tag, I can have only one big minified script
---------- Post added at 06:49 AM ---------- Previous post was at 06:48 AM ----------
or hey, while we are on the subject of eclipse, do you have any idea how to give colors to your directory or tabs based on your directory?
and at the end of my script, I minify everything inside one script
without script tag, I can have only one big minified script
---------- Post added at 06:49 AM ---------- Previous post was at 06:48 AM ----------
or hey, while we are on the subject of eclipse, do you have any idea how to give colors to your directory or tabs based on your directory?
#4
Posted 14 October 2011 - 11:12 AM
As far as I'm understanding what you're doing, you're trying to insert more script after the page has been loaded? More script from another script/php file?
I'm wondering if JavaScript 'Function ("some script...");' syntax would work.
* * *
Is eclipse another language within JavaScript?
I'm wondering if JavaScript 'Function ("some script...");' syntax would work.
* * *
Is eclipse another language within JavaScript?
#5
Posted 18 October 2011 - 11:24 PM
Eclipse is the program that compiles and runs the programs. Mainly used for Java but supports other languages. I prefer NetBeans.
-=[ w | o | l | f | m | a | n ]=-
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









