CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 event programming

Print topic Send  topic

Author Message
Michael Hamlett
Posted: 01/19/2005, 1:10 PM

trying to code an OnClick event for a checkbox.
i see the onclick on the properties(format tab)

there is no onclick event on the events tab.

on the format tab on the line with the onclick what do i put here?
if i put the name of the on click function where do i put the code?
aradi

Posts: 66
Posted: 01/19/2005, 2:18 PM

you can put the code(Function code) in the HTML page , in most cases between <head></head> tags .Put the name of the function in the properties (format tab) onClick as you did.

a good example follow this link http://docs.codecharge.com/studio/html/
View profile  Send private message
aradi

Posts: 66
Posted: 01/19/2005, 2:26 PM

Sorry , look under Working with projects->Using Javascript/jscript
View profile  Send private message
peterr


Posts: 5971
Posted: 01/19/2005, 2:57 PM

CodeCharge Studio has strong support for server-side events (JavaScript), however it doesn't support all client-side events, mostly only those that may be used by CCS validation functions. And actually all the JavaScript functions that you may find on the Internet would need to be placed directly within HTML as aradi pointed, without a need to use CCS events.
Thus it may be best if you modify the HTML code and insert your JavaScript functions there. Alternatively if your event code is short (one liner) then you could enter it in the properties (format tab) as you noticed. That will work the same as placing it within the HTML.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.