I want to show/hide a Field according to the selected value of a Choice field. How can i achieve this with javascript or AJAX?
Edit:
I tried this but, i cant even get the value of the selected value for the lookup dropdown:
$(document).ready(function() {
$('select[id$="ctl00_m_g_4baff930_989d_4f64_8728_9fb22af0d590_ctl00_ctl05_ctl09_ctl00_ctl00_ctl04_ctl00_Lookup"]').live("change", function()
{
alert($(this).val());
});
});