TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Srinivasulu Enugu
1.7k
58
5.9k
JavaScript runtime error: Access is denied.
Aug 6 2015 8:18 AM
when i am running solution , i am getting below mention error message and my code also mention and also find the screenshot for more details on this error
<script type="text/javascript">
$(document).ready(function () {
$("#txtemailID").blur(function() {
var Email = $('#<%=txtemailID.ClientID%>').val();
if (Email == "" || Email == 0) {
alert("Please valid E-Mail Adress");
}
else {
var valued = validateEmail(Email);
if (valued == true) {
}
else {
$('#<%=lblEmail.ClientID%>').text("Pleasee Enter Valued Email ID");
}
}
});
});
function validateEmail(Email) {
var filter = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
if (filter.test(Email)) {
return true;
}
else {
return false;
}
}
</script>
Reply
Answers (
14
)
JavaScript runtime error: sEmail' is undefined
Asp.Net