Skip to Content
author's profile photo Former Member
Former Member

BSP Element id

Hello Everyone,

I am dynamically generating HTMLB elements from table view iterator in which one of the columns is of Date field (Input field of type date) and the other is drop-downlist.

Based on value selected from drop-down list I am enabling or disabling the Date field.This I am achiveing by calling a JavaScript function onClientSelect of drop downlist.The text field is getting diabled by JavaScript command "document.frm[0].inputfield_id.diabled = true".

But the problem is the still the user can select date from the button provided.I checked in browser(View->Source) the id of that button and disabled that by the above command which works fine.

But my question is is there any way to find the BSP Element id by JavaScript because I guess sometimes HTMLB generates different id in the browser e.g. In my case my id of text field is "tf1" of type date and it generates other button with id "tf1-btn".

Thanks in advance.

Regards

Rajeev

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 06, 2004 at 08:08 PM

    Hello Rajeev,

    can you post the complete example Code of your Application?

    Regards

    Gregor

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.