Say for example my sample input file is,
Tag name: input
Attributes:
type="text"
name="hello"
size="49"
Tag name: input
Attributes:
type="text";
name="hello';
size="50";
Now how can i compare the size of the two textboxes... from the Tag name=input and attribute type="text" ....(size=49 && size=50)and results a mismatch result in this case
Loading
aparnaPosted Mar 18, 2011, 9:10 AM
Soft CornerPosted Mar 18, 2011, 8:53 AM
if you want to do this in c# then add 2 more attributes in input tag
1. id
2. runat="server"
you can do like this for e.g :
in .cs file :
if (Text1.Size != Text2.Size)
{
//not matched
}
else
{
// do something
}