arrrrgggggg this is amazing !!!
another snippet i try was :
<html>
<head>
<script type="text/javascript">
window.onload = function()
{
var oPre = document.createElement('PRE');
oPre.innerHTML = 'I hope this will work :)';
document.getElementById('myP').appendChild(oPre);
}
</script>...
vongrunt, you're right, i didn't think of inline and block elements :)
here's what i found on w3c :
"The P element represents a paragraph. It cannot contain block-level elements (including P itself)."
http://www.w3.org/TR/1998/REC-html40-19980424/struct/text.html#edef-P
thanks so much for...
I do not really agree with that.
I'm ok on the no closing tag of P but in my example, if you change PRE with SPAN, it works ...
So why there's an innerHTML for SPAN and not for PRE or DIV ??
It's the same with only a textNode, if you only have some text, you can access to the innerHTML ...
Hi everybody,
I get something amazing with IE6.0, here's my snippet :
<html>
<head>
<script type="text/javascript">
window.onload = function()
{
document.getElementById('myP').innerHTML = '<pre>I hope this will work :)</pre>';
}
</script>
</head>
<body>
<p id="myP"></p>
</body>
</html>...
Hi Lbob,
It seems that your tag is not correct :
<SCRIPT language="JavaScrip"t src="jscript/mmenu.js" type="text/javascript"></SCRIPT>
"JavaScrip"t ??
Hi Tarwn,
In fact, here's my problem.
I'm working in an ActiveX DLL with differents class modules.
I create a templator class that read some htm files and replace some tokens with value of my database.
My problem is that data of my Database are used as string when I put them in my templator, so...
You have a Session Variable :
Session("USERID") = 1
You have a String :
String = "I have a string with Session(""USERID"") in him"
So now, how d'you display :
I have a string with 1 in him
Instead of :
I have a string with...
I want to evaluate a String.
Imagine you get a string with Session("USERID") in him, how d'you get the real value of Session("USERID") instead of this darn String, that's all !!
Hi peeps,
Does someone know how to get the real value of this String :
Session("USERID") = 1
leStr = "Session(""USERID"")"
Response.Write leStr ==> output: Session("USERID") and not 1
Thanxs
Hi peeps,
I have a problem with Word and Windows XP.
I cannot open any file because I get this message : "file is locked for editing".
I'm sure that I don't have any temp file (I deleted all temporary folders ;-) ), I've tried to change my normal.dot and it's still the same error...
Well I think that i forget to tell you something!
This is a stored procedure where i need to select so much thing that i must have variables.
My problem is to select all those variables at the end of my stored procedure.
Hi peeps,
Does someone know how to select a variable of a select into?
here's my sample :
select count(*) into Nb_Facture_Echues
from BT_PNS_POS PNS
where PNS.CODE_CLIENT = var_codeClient
and (TO_DATE(sysdate, 'dd-mm-yy') - TO_DATE(PNS.DATE_ECHEANCE, 'dd-mm-yy') < 0);
IF...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.