> Whats is the best way to do the following

> <input type="button" value="    OK    " name="B1" > > "exitnow('<cfoutput>#CGI.QUERY_STRING#</cfoutput>');">

> its just passing "Query_String" as an string.

It's actually _javascript_ (there's no JAVA in _javascript_ -- except the
name as a marketing ploy) ...

I'm not real sure what the intent of this code is tho -- rather... I
don't understand what problem you're having...

Though in general, I would go with a move xml-friendly version such
as:

<cfoutput>
  <button >   type="submit" style="width: 80px;">OK</button>
</cfoutput>

I've been told that XHTML is deprecating (or has deprecated) the
in-line style attribute... not certain of the veracity of that or the
likelyhood that it will ever matter (even if it's true)... Although I
would usually have the width of the button as part of either a class
or a more general application of style for the button tag within my
application.

hth

s. isaac dealey   954.927.5117

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to