• Post Reply Bookmark Topic Watch Topic
  • New Topic

alternattive to usage of javscript

 
Jeyakumar Easwaramoorthy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using javascript for delete confirmation,
is any other way for delete confirmation without using javascript.
Thanks
Jeyakumar
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to enter meaningful subject lines that are descriptive of your question. I initially closed this topic thinking that it was the same as your other topic which uses the exact same subject.
[ October 27, 2006: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
deleteConfim() -- or as I'm sure you meant it -- deleteConfirm() (please take care not to make such silly mistakes when posting) is not a standard Javascript function. So we have no way of knowing what it does so that your question can be answered.

In gerneral though, no, without Javascript, there's not much you can do in the way of client-side activity. You'll need to do it the hard way with a server-side request/response cycle.
 
pradheesh manohar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Jeyakumar,
According to my understanding you need to perform a validation
on the data before performing your business logic.

your client would have avoided uing JS coz critical process like data in database operation would have to be performed by server side validation since you cant expect all your end users to enable javascript in their browser.

i use struts serverside validation using validate method in ActionForm class(i suppose you are familiar with struts)

[ October 30, 2006: Message edited by: pradheesh manohar ]
[ October 30, 2006: Message edited by: pradheesh manohar ]
 
prashant kond
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
If you are doing any validations it could be possible by using struts. If you are aware of struts then it can be replaced. but if it is just forwarding the request better use java script only.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!