Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

DHTML help

 
Ranch Hand
Posts: 264
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create a control by use of DHTML/Javascript which should do a specific functionality. Should i use id for that control (suppose a button) and register that id with a particular event.

As we know with desktop application, each control is registered with some database field and get the updated value on fire of any type of event.I want same functionality by use of Javascript and html controls (textfield,select boxes, text areas, checkboxes).

Please suggest me somthing in such a case.
 
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need to be more specific about what you need, giving at least one example.

By events, do you mean a user-initiated event (clicking on a button) or a system-initiated event (value in the database changing)? This former one is easy to do, the latter one is trickier - you can't register an HTML control with a server event. You'd just have to poll the server at regular intervals for changed data.

-Yuriy
 
Don't touch me. And dont' touch this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!