Forum: JavaScript / DHTML / AJAX Sep 1st, 2009 |
| Replies: 10 Views: 12,239 One solution for that is to put the data between <textarea> and make it hidden. |
Forum: JavaScript / DHTML / AJAX Jan 13th, 2008 |
| Replies: 10 Views: 12,239 You are right. I do use XMLHttpRequest, in case that the template is only required during runtime depends on users interaction. But for some templates which are always necessary to be loaded together... |
Forum: JavaScript / DHTML / AJAX Jan 12th, 2008 |
| Replies: 10 Views: 12,239 The reason i want to put it in CDATA, is that I want to put some template html data which may include many lines of HTML source. While it's possible to put the whole template inside the javascript... |
Forum: JavaScript / DHTML / AJAX Jan 9th, 2008 |
| Replies: 3 Views: 2,556 When you define a variable name same as an IFRAME name, I.E won't be able to get back the iframe. See following example:
<html>
<body>
<iframe id='ifLoan' name='ifLoan'>
</iframe>... |
Forum: JavaScript / DHTML / AJAX Jan 8th, 2008 |
| Replies: 10 Views: 12,239 thanks for the reply. But maybe you mis-understand my issue.
Here my problem is not the javascript code itself. But the java script can't assess the data inside
<![[CDATA .... ]] |
Forum: JavaScript / DHTML / AJAX Jan 8th, 2008 |
| Replies: 10 Views: 12,239 I'm trying to put some text which will confuse HTML parser inside the CDATA section for javascript to access. But seems it won't work in both firefox and Internet Explorer. In Firefix, it will treat... |