Monday, April 23, 2007

[completeJava] Re: Urgent query regd Checkbox and Form submit



--- In completeJava@yahoogroups.com, "Amit Aggarwal" <sheetal.gupta@...>
wrote:
>
>
> Hi Guys,
>
> If my jsp page has 4 diff checkboxes of the form
> <input type="checkbox" name="abcCheckbox" <c:if
> test="${abcdef=='S'}">checked</c:if> > checkbox 1
>
> Based on the checkbox, I need to show certain sections of the page.
>
> How do I get the selected checkbox value on the same page,
> Without doing form submit?
>
> Please wish you could reply ASAP.
>
> Thanks,
> Sheetal Gupta
>
Hi,

If you want to display so and so section of the page based on the
selection you can make use of Client side Scripting (like JavaScript).
But if you want to show that info without submitting form then you sould
get all the required information then you store somewhere in a
javascript variable.

Other way of doing it is using AJAX.

Bye.

B. Thirupathi

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

New web site?

Drive traffic now.

Get your business

on Yahoo! search.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___

No comments: