Click here to Skip to main content
15,904,024 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I am preparing One Customcontrol for that i need to retrieve form_id.
of a form in which my Customcontrol is placed.

Because depending on that form_id only ,I can pass parameters...

I am developing CustomControl in Windowsapplication.


Thank You
Posted
Updated 6-Dec-11 2:39am
v4
Comments
RaviRanjanKr 6-Dec-11 8:19am    
Its not a good practice to use Short text words like 'u' instead of using 'You'.

XML
function myFunction(frm) {
alert("This form is " + frm.id + ".");
return true;
}

<form id="Form1" onsubmit="return myFuction(this)">
 
Share this answer
 
Comments
vempadu 6-Dec-11 8:40am    
Thanks for reply,
But i using windows application

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900