Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adding onclick behaviors

Guest
Jun 07, 2010 Jun 07, 2010

Over the past year I have worked hard to master DW and PHP, but my clients are increasingly in need of onclick behaviors like conditional form fields (form fields that change according to a previous option being selected) and other JS-based functions that don't require page reload. What is the easiest way to learn to integrate these behaviors into DW design?

After checking out asp.net, which offers all these functions, I'm wondering why I shouldn't just switch and forget DW altogether? What is DW's advantage? All I can see now are all its disadvantages. What am I not getting?

TOPICS
Server side applications
320
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 07, 2010 Jun 07, 2010
LATEST

You are comparing apples and horses.

asp.net is a language, DW is an editor, You cannot switch from DW to asp.net

For dynamically created form elements, your best bet is using JavaScript, which is compatible with most of the modern browsers.

I suggest you to read about HTML DOM elements, creation and manipulation using Javascript.

You can also create new form elements based on live data from server, using AJAX.

Be careful with asp.net. It works best on Windows servers, and its client side scripting language (VBscript) is supported only by Internet Explorer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines