Give some refrence to learn Java Script with HTML5lo mates,
Hello mates,
Can anybody please prvodi me a good refrence to learn java script with HTML5. Yes, i am new to HTML5 and Java.
Anybody have a good refrence.
Please Share.
Thanks
Sorry for misspell in thread heading.
Similar Messages
-
hi Expert,
Can You Tell Me how to use Java Script With XE.
Thanks
ManojManoj.
By the term "Use JavaScript", do you mean how to include JavaScript functions on your page(s) or are you looking for help in what JavaScript can be used for and how to add onclick, onchange events to form elements?
If it is the former, there are several ways to include JavaScript onto your pages:
1. Edit your page in the APEX Builder and place the normal syntax into the HTML Header Section i.e
<script language="JavaScript">
function hellWorld()
alert ("Hello World");
</script>2. Check out this article on how to link in File System based Javascript files: http://djmein.blogspot.com/2007/01/reference-javascript-from-file-system.html
I hope that gets you started.
Let me know if you need any more help.
Duncs
http://djmein.blogspot.com
As a courtesy, please remember to mark correct or helpful responses accordingly :) -
How to learn java script in indesign
Dear Sir,
I am a template designer, I am interesting on Indesign scripting but I don't know basic knowledge in software languages. So Please help me which languages i should learn for indesign scripting. (some of them saying C language is must). Is c language is essential or Shall i go directly with java script. And also i want Beginners indesign scripting guide (not advanced) and give me some tips how should i develop skills in a short period. Please advice me.+1
What we call here "InDesign JavaScript" (DOM+language) is syntactically based on Adobe ExtendScript, which derives from E4X (ECMAScript for XML) and ECMAScript itself. (JavaScript is known as an implementation of the ECMAScript standard.)
In short terms, "InDesign JS" as a language should somewhat implement the ECMAScript and E4X specifications, i.e. ECMA-262 and ECMA-357:
1) http://www.ecma-international.org/publications/standards/Ecma-262.htm
2) http://www.ecma-international.org/publications/standards/Ecma-357.htm
It is true that the JavaScript's syntax and conventions contain familiar echoes from C or even Java, but these languages are definitely different on the semantic level and I really don't believe it's a good idea to learn C before learning JS.
Here are a few links I would add to this discussion:
The basics:
– Eloquent JavaScript (Marijn Haverbeke): http://eloquentjavascript.net/
– JavaScript Guide (MDN): https://developer.mozilla.org/en/JavaScript/Guide
– Douglas Crockford on JavaScript: http://javascript.crockford.com/
Advanced articles and resources:
– Peter Michaux (see "JavaScript Language"): http://peter.michaux.ca/
– Learning Advanced JavaScript (John Resig's tutorial): http://ejohn.org/apps/learn/
– Higher-Order JavaScript (Sean M. Burke): http://interglacial.com/hoj/hoj.html
– Annotated ECMAScript 5.1 (next spec., in the making): http://es5.github.com/
@+
Marc -
sir i have seen that java 1.6 mustang version is supporrting java script
if it is so please any one can help me on how to make my JEditorPane
to support java script
not only to jEditorPane but to any other swings component
i tried in all ways please can any one give me this helpHello Farhan,
The OP stated that there is no condition on the process. In this case, I believe only 'SUBMIT' will cause the process to be fired.
"you can put anything in the string of the doSubmit."Well, you can do that, but it will have an effect only if you are using the REQUEST variable to condition a process. Otherwise, nothing will happen, and you want even receive an error message, because no error actually exist (as I believe happened with the OP case).
Regards,
Arie. -
Can I use java script with iWeb?
I am quite pleased with iWeb for my web requirements, commercial and private, but I need to insert java script and don't know how or if iWeb accepts it.
All custom code, including JavaScript, is pasted in the HTML Snippet.
Read this : Using the HTML Snippet
Everything you paste there, is your responsibility.
iWeb happily publishes your code, whether it works or not. If not, mend it.
See examples here :
http://www.wyodor.net/_Demo/Fancy/Dynamic_Text.html
http://www.wyodor.net/_Demo/html5/BlowUp.html
http://www.wyodor.net/mfi/Maaskant/How_To.html
http://www.wyodor.net/mfi/cultureclub/Movies.html
http://www.wyodor.net/mfi/roodhout/How_To_Do.html
You may have to learn HTML, CSS, JavaScript, AJAX, DOM and how iWeb creates its pages. Especially that. -
How to do Front End Validation for JSP Forms using Java Script with 9iJD...
How to do Front End validation using 9iJD. Any wizard is there. We need to do the val. using Java Script. If its not available, please include that in the Production Release.
Thanks a lot. When is the Production Release is scheduled. Please tell us whether itll be available for Free Download. Bec, we couldnt buy. Bec, if its working fine with all the options without any bug only, we can ask our company to buy 9iJD by stating the advantages. Just explain us.
-
hello friends,.
please help me !! May i know how to retrieve values from list box in java script to jsp and store them in database..i am doing a project Employee Management system....
please give me ideas .....thank you very much sir.......
i have a combo box in java script having employee skills, if the employee select his skills and click on submit, the values should be stored in the database of the particular employee through JSP..
the code that i have did is...
<%
String s1=(String)session.getAttribute("eid");
String s2[]=request.getParameterValues ("menu2");
int i=0;
%>
<%
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:empl2");
PreparedStatement prep=con.prepareStatement("update skill(menu2) values(?) where eid=?");
// prep.setString(1,s2);
prep.setString(2,s1);
i=prep.executeUpdate();
con.close();
catch(Exception e)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body >
<center><h4><u> Employee Assessment Application</u></h4></center>
<%
if(i>0)
%>
Your skills had been updated !!!!!
<%
else
%>
not updated
<%
%>
<br>Best of Luck
<h4><u>Back</h4>
</body>
</html>
But the values are not getting stored....what to do
thanx in advance -
Using Java Script With Item Button
Hi All,
please i want to know how can i call any java script function from an item button?
i cannot find the "Action When Button Clicked" tab which is exist in a region button.
Thanks in advance,
OlaHi,
i am having a strange problem with java script
i have defined the following commandlink in an af:table
<af:commandLink
text="lockUser"
disabled="#{!bindings.lockUser.enabled}"
id="cl1"
partialTriggers="cl1"
action="#{searchBean.lockUser}">
<af:clientListener method="onlock1" type="click"/>
</af:commandLink>
I have defined the following java script function.
<f:facet name="metaContainer">
<af:resource type="javascript" >
function onlock1(){
if(confirm("Do you want to cancel")){return true;}
else {
return false;}
</af:resource>
</f:facet>
when i click on the link, the dialog box appears asking if i want to cancel: when i press yes still the link action is activated. Kindly suggest where i am going wrong.
the behaviour i need is to if cliked on yes then the link action does not activate and nothing happens. if i press any other button the link functionality should be activated and it should perform the locking functionality -
hi
i want to exicute a small java script code in to labview, so please help me for thisYou can do this through .NET interface, it is very complicated.
Google : .NET DLR javascript
You can call .NET methods from labview and there is an existing DLR implementation of javascript. The least to vapour is IronJS.
Download the libraries, force labview use the .NET 4.0 or higher and try to use it.
Since you mentioned "small javascript", much less painfull would be to rewrite it in labview. If you are trying to mimic some javascript code online you didnt develop, you can use tools to breakpoint and probe it by tools in browsers. Firefox has firebug. I used it when I was converting a very difficult mathematic conversion between C and javascript. -
Java scripting with textarea?
Hello,
I am trying to read values passed by a servlet from an html form using java scripting. Here is the code:
document.MainForm.textareaInfo.value = "<%= (String)session.getAttribute("textareaInfo") %>"
This code works if the info entered in the textareadInfo field has one line with no carriage return.
How can assign value to textareaInfo field contains multi-line string with carriage return?
Thanks in advance.Hi,
replace all "\r\n" (carriage return) in the string with "\\r\\n", so that it appears as "\r\n" in javascript.
In jdk 1.4, you can use((String)session.getAttribute("textareaInfo")).replaceAll ("\r\n", "\\\\r\\\\n") -
Who can give me a suggestion about java crash with Internal Error ID?
I running my server performance test, but after 7 hours, the jvm crashed and give a java internal error ID with "*53484152454432554E54494D450E43505001A8*",
and I can not query any valuable information from Google by this internal Error ID. Who can give me a light?
I have run the performance test on the other machine with the same service logic, the other environment not crash, It's very strange!
h5. some content of The hs_err_xxx.log file:
# An unexpected error has been detected by HotSpot Virtual Machine:
# Internal Error (53484152454432554E54494D450E43505001A8), pid=16908, tid=1060293520
# Java VM: Java HotSpot(TM) Server VM (1.5.0_19-b02 mixed mode)
--------------- T H R E A D ---------------
Current thread (0x425782e8): JavaThread "11d1def534ea1be0:656f6049:124caa54ac8:49c0,EventTypeID[com.telware.protocol.cid.eve
nt.CIDContinueEvent#telware#1.0], #14" [_thread_in_Java, id=17068]
Stack: [0x3f2ac000,0x3f32d000), sp=0x3f32b2a0, free space=508k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x516863]
V [libjvm.so+0x1ca6cc]
V [libjvm.so+0x4a3c5f]
V [libjvm.so+0x43ceb6]
V [libjvm.so+0x43a0c4]
Other Threads:
0x08e0d850 VMThread [id=16914]
0x08e20e20 WatcherThread [id=16923]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
h6. Heap
par new generation total 98304K, used 36214K [0x49360000, 0x51360000, 0x51360000)
eden space 65536K, 29% used [0x49360000, 0x4a667c10, 0x4d360000)
from space 32768K, 51% used [0x4d360000, 0x4e3b5e58, 0x4f360000)
to space 32768K, 0% used [0x4f360000, 0x4f360000, 0x51360000)
concurrent mark-sweep generation total 1507328K, used 974545K [0x51360000, 0xad360000, 0xad360000)
concurrent-mark-sweep perm gen total 40152K, used 24021K [0xad360000, 0xafa96000, 0xb1360000)
h6. VM Arguments:
jvm_args: -Dfile.encoding=utf-8 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationConcurrentTime
-XX:+PrintGCApplicationStoppedTime -Xloggc:/home/sepcs/sep/oper/gc.log -Xms1600m -Xmx1600m -Xmn128m -XX:SurvivorRatio=2 -XX:+
UseFastAccessorMethods -XX:-UseFastEmptyMethods -XX:+UseFastJNIAccessors -XX:ParallelGCThreads=2 -XX:+UseConcMarkSweepGC -XX:
UseParNewGC -XX:CMSFullGCsBeforeCompaction=1 -XX:GCTimeRatio=19 -Xnoclassgc -XX:DisableExplicitGC -XX:CMSInitiatingOccupanc
yFraction=70 -XX:+UseCMSCompactAtFullCollection -XX:+CMSParallelRemarkEnabled -Dsep.home.dir=/home/sepcs/sep
java_command: com.telware.sep.system.SysAdmin -r -gc
Launcher Type: SUN_STANDARD
h6. Environment Variables:
JAVA_HOME=/usr/jdk/jdk1.5.0_19
PATH=/home/sepcs/sep/bin::/usr/jdk/jdk1.5.0_19/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=/usr/jdk/jdk1.5.0_19/jre/lib/i386/server:/usr/jdk/jdk1.5.0_19/jre/lib/i386:/usr/jdk/jdk1.5.0_19/jre/../lib/i3
86
SHELL=/bin/csh
DISPLAY=localhost:10.0
HOSTTYPE=i386-linux
OSTYPE=linux
MACHTYPE=i386
--------------- S Y S T E M ---------------
OS:Red Hat Enterprise Linux Server release 5.1 (Tikanga)
uname:Linux 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 10240k, CORE infinity, NPROC 31726, NOFILE 1024, AS infinity
load average:2.05 2.35 2.23
CPU:total 2 (cores per cpu 2, threads per core 1) family 15 model 6 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3
Memory: 4k page, physical 2009524k(54132k free), swap 1049k(1048k free)
vm_info: Java HotSpot(TM) Server VM (1.5.0_19-b02) for linux-x86, built on May 4 2009 01:43:34 by java_re with gcc 3.2.1-7a
(J2SE release)
time: Sat Nov 7 02:44:28 2009Thank you very much first.
I have noted that the link [t-739313] but I can not found any valuable info for my exception :(
Yesterday night this crash has been rised again after my server running 1hours, I have analysis the core file, it's stack like this:
{color:#008080}(gdb) bt
#0 0xb7f4e402 in __kernel_vsyscall ()
#1 0x00488c10 in raise () from /lib/libc.so.6
#2 0x0048a521 in abort () from /lib/libc.so.6
#3 0xb7990f75 in os::abort () from /usr/jdk/jdk1.5.0_19/jre/lib/i386/server/libjvm.so
#4 0xb7a6f914 in VMError::report_and_die () from /usr/jdk/jdk1.5.0_19/jre/lib/i386/server/libjvm.so
#5 0xb77236cc in report_fatal () from /usr/jdk/jdk1.5.0_19/jre/lib/i386/server/libjvm.so
#6 0xb79fcc5f in SharedRuntime::continuation_for_implicit_exception ()
from /usr/jdk/jdk1.5.0_19/jre/lib/i386/server/libjvm.so
#7 0xb7995eb6 in JVM_handle_linux_signal () from /usr/jdk/jdk1.5.0_19/jre/lib/i386/server/libjvm.so
#8 0xb79930c4 in signalHandler () from /usr/jdk/jdk1.5.0_19/jre/lib/i386/server/libjvm.so
#9 <signal handler called>
#10 0x0960527c in ?? ()
#11 0x429f2160 in ?? ()
#12 0x429f2158 in ?? ()
#13 0x4cb72e48 in ?? ()
#14 0x4cb72f28 in ?? ()
#15 0x4cb72fe8 in ?? ()
#16 0x00000000 in ?? (){color}
I have print the stack from the core file, I found the crashed thread's state which indicted by hs_err_xxx.log is IN_JAVA and no stack information.
{color:#008080}Thread 12536: (state = IN_JAVA){color}
(no stack info.)
{color:#008080}{color:#000000}And from the gc.log, I found that the crash occured in the CMS phase, the last gc log is :
{color}5814.574: [GC [1 {color:#0000ff}CMS-initial-mark{color}: 829142K(1507328K)] 839697K(1622016K), 0.0281480 secs]
Total time for which application threads were stopped: 0.0284280 seconds
5814.602: [{color:#0000ff}CMS-concurrent-mark-start{color}]
Application time: 1.7093670 seconds
5816.312: [GC 5816.312: [ParNew: 108858K->8866K(114688K), 0.1133760 secs] 938001K->842222K(1622016K), 0.1135920 secs]
Total time for which application threads were stopped: 0.1141250 seconds
Application time: 1.4597160 seconds
5817.886: [GC 5817.886: [ParNew: 107170K->8372K(114688K), 0.0900130 secs] 940526K->844407K(1622016K), 0.0902690 secs]
Total time for which application threads were stopped: 0.0907340 seconds
Application time: 1.4513060 seconds
5819.428: [GC 5819.428: [ParNew: 106676K->8189K(114688K), 0.0871610 secs] 942711K->846695K(1622016K), 0.0873750 secs]
Total time for which application threads were stopped: 0.0878680 seconds
{color:#000000}All above is my found, but I am a newbie in JVM crash, so anybody can help me ?
and I am very interesting in the Internal Error ID ({color}{color}{color:#ff0000}*53484152454432554E54494D450E43505001A8*{color}{color:#008080}{color:#000000}), I think this ID hide a lot of valuable information for SUN JDK developer, who can interpret it? Thanks very much!
{color}{color} -
Intigrating java script with jsf
Hi all,
I am trying to get a alert message through script which has the data of the <h:inputText >?
How .Help me?
Thanksif you have a form with id myForm and input with id myField jsf generates id for the field like
<input id="myForm:myField" type="text" name="myForm:myField"/>and you can get the value using:
- getElementById()
- form["myForm:myField"].value - i`m not sure about this (its from the book Core JSF) -
hi,
pls see subject. Is it possible ?
reagards
sasHi sas,
Check this
<a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro:///people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
regards
Sumit -
Java script with struts html tag
the code show above is the main problem in the body of the function check() i just want to have a logic if the USERNAME is empty then it should alert("empty") if the name contains any spaces then it should alert("spaces are there")
can u help this out
<head>
<script language="text/javascript">
function check()
</script>
</head>
<body>
<html:form action="somename" ondbclick="check()">
USERNAME:<html:text property="username"/>
<html:submit/>
</html:form>
</body><html:form action="somename" ondbclick="check()">why do you plan to check it on double clicking the html form? what if the user doesn't do a double click?!
Maybe you could check it on the "onblur " event for the textbox. ->
<html:text property="username" onblur="javascript:check();"/>If you are unsure about how to work on the javascript function (because I didnt exactly understand your query :) ) then just to get you started...
function check()
if(document.forms["0"].username.value == "")
alert("Empty textbox!");
//put code for checking spaces
}but do a little googling for the rest..
And if I have entirely misread your query, then please clarify... -
In a Conversion file, Using Java Script - IF statement with Greater,Less definitions
Hail to All Gurus,
Well, I've been trying to make a conversion file by using if statement of Java script with < , > definitions. unfortunately i got "Evolution error" over and over again.
Actually i want to convert all dates before 2009 as 2008.12. And the dates which is greater than 2009 will be converted as they are (e.g. 2009.01 or 2010.02 etc.).
Code is:
js:if(%external%.toString().substring(0,4)<"200900"){"2008.12"}else{%external%.toString().substring(0,4) + "." + %external%.toString().substring(4,6)}
SAP EPM version 10.0 SP15 Patch 2
Build 8586
Thanks for your help in advanceSadi,
You can write if Statement in transformation not conversion.
Look at this docs,
How to Import Master Data and Hierarchies into SAP BusinessObjects BPC 7.5 from SAP NetWeaver BW
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c02d0b47-3e54-2d10-0eb7-d722b633b72e?QuickLink=index&…
Thanks
Maybe you are looking for
-
Check for null in IF statement
Hi, I have a variable of type char(8). I want to check if this field is empty. This is the logic I use right now: condense lv_date no-gaps. if lv_date eq ''. *then some default value endif. Is this the correct approach or there is a way to directly c
-
Hi there, thanks in advance for any help on this ... I have an excel spreadsheet export from our back-office that exports product information from our shop. I want this to be reformatted slightly using AppleScript An example of our workbook is as fol
-
IPod touch 2nd gen hooked up to computer but iTunes doesn't recognize it
My iPod touch 2g 8GB has always worked fine and synched with the computer, but now the computer doesn't recognze. It is hooked up to the cable and in the USB port. The iPod itself shows that it is charging, so it knows it's in the computer. iTunes sh
-
I just replaced my iPod 5th gen. a week ago, and it was working fine, but when I went to go turn the screen on, it wouldn't turn on. I've tried to put it on the charger and it wouldn't charge and it wont connect to my computer, how do i fix this? I t
-
Excise base amount not updated after creating Excise Invoice
Dear Friends, The excise base amount is not getting updated in table J_1IEXCDTL u2013 EXBAS. System updates J_1IEXCDTL u2013 EXBAS, if condition category in the Base price condition type is maintained as H.But the problem comes when discounts are app