0

" show Error

asked 2008-12-26 05:33:34 +0800

snoopy gravatar image snoopy
42

It is show error with red sign, which in the "
<zk xmlns="http://www.zkoss.org/2005/zul"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">
<window title="My First Window" border="normal" width="200px">
Hello, World!
<button label="click" onClick="lab.value= "xyz""></button>
<separator></separator>
<label id="lab" value="aaaa"></label>
</window>
</zk>

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-12-26 05:35:39 +0800

snoopy gravatar image snoopy
42

the sign & quot; I can't write & quot; without whitespace in here
the sign show error.

link publish delete flag offensive edit

answered 2008-12-26 07:24:40 +0800

hideokidd gravatar image hideokidd
750 1 2

updated 2008-12-26 07:46:24 +0800

1.The question is
forum system will replace (& quot;) with the sign (") even in code?

Please ignore the space between & and q in former ()

2.Maybe you can try your code in Zk live demo

3.How about try

  <button label="click" onClick='lab.value= "xyz"'></button> 
  

to replace your code

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-12-26 05:33:34 +0800

Seen: 117 times

Last updated: Dec 26 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More