Đang Thực Hiện

(Javascript/FireFox) ASP.NET example project

ASP.NET (vb.net - visual studio 2008) example project (Javascript/Firefox problem and solution)

Review the attached javascript validation scripts, and identify the reason Firefox won't run them and write a short document about the reason(s) this javascript is not compatible with firefox, with online references.

(These javascript scripts are embedded in a Visual Studio 2008 [url removed, login to view] project webpage, and are run when a submit button attempts to leave the webpage, and navtigate to a new webpage. Upon validation, navigation to another webpage is allowed, otherwise an error message displays the validation problem.)

Provide scripts to replace these that have the same functionality but will run in IE 8 & 9, Firefox (current version) and chrome (current version) browsers.

Provide a webpage example (asp.net project - vs 2008) with two texboxes that populate from javascript calendar controls, and are validated by the new javascript when a submitt button is clicked that go through the validate() function for validation, and allow navigation to another webpage when validation is passed.

Provide a webpage example (same asp.net vs 2008 project as above) with the "bad" validate functions below, and document the reason they don't run.

function validate() {

if ((verifyStartDate() == true) && (verifyEndDate() == true) && (verifyDate() == true)) {

// if (verifyDate() == true) {

return true;

}

else {

return false;

}

}

function verifyStartDate() {

var sDate = [url removed, login to view]("Textbox1").value;

var re = /^\d{1,2}\/\d{1,2}\/\d{4}$/

if ([url removed, login to view](sDate)) {

var sArr = [url removed, login to view]("/");

var sDt = new Date(sDate);

if (([url removed, login to view]() + 1 == sArr[0]) && ([url removed, login to view]() == sArr[1]) && ([url removed, login to view]() == sArr[2])) {

return true;

}

else {

alert("Invalid Start Date");

[url removed, login to view]("Textbox1").select()

return false;

}

}

else {

alert("Invalid Start Date");

[url removed, login to view]("Textbox1").select()

return false;

}

// return true;

}

function verifyEndDate() {

var eDate = [url removed, login to view]("TextBox2").value;

var re = /^\d{1,2}\/\d{1,2}\/\d{4}$/

if ([url removed, login to view](eDate)) {

var eArr = [url removed, login to view]("/");

var eDt = new Date(eDate);

if (([url removed, login to view]() + 1 == eArr[0]) && ([url removed, login to view]() == eArr[1]) && ([url removed, login to view]() == eArr[2])) {

return true;

}

else {

alert("Invalid End Date");

[url removed, login to view]("TextBox2").select()

return false;

}

}

else {

alert("Invalid End Date");

[url removed, login to view]("TextBox2").select()

return false;

}

// return true;

}

function verifyDate() {

var xSDate = new Date;

var sDate = [url removed, login to view]("Textbox1").value;

alert([url removed, login to view]("Textbox1").value);

var sArr = [url removed, login to view]("/");

[url removed, login to view](sArr[2]);

[url removed, login to view](sArr[0] - 1);

[url removed, login to view](sArr[1]);

var xEDate = new Date;

var eDate = [url removed, login to view]("TextBox2").value;

var eArr = [url removed, login to view]("/");

[url removed, login to view](eArr[2]);

[url removed, login to view](eArr[0] - 1);

[url removed, login to view](eArr[1]);

if (xSDate > xEDate) {

alert("The Start Date can not be greater than the End Date");

[url removed, login to view]("Textbox1").select()

return false;

}

else {

return true;

}

// alert("don stuff");

// re

Kỹ năng: .NET, Firefox, HTML, Javascript

Xem thêm: write scripts online, webpage scripts, webpage problem, test a javascript, run javascript, review javascript, online project in asp.net, online project in asp net, online document review, javascript vs, go javascript, functions in vb.net with example, function in vb.net example, edt .net, edt displays, write javascript online, online visual studio, chrome online, test javascript online, online visual studio c++, net review, net javascript, javascript validation, firefox, example

Về Bên Thuê:
( 46 nhận xét ) McKinney, Canada

Mã Dự Án: #1703920

Đã trao cho:

nitendragodare

i have done your jobs as your Requirement.

$100 USD trong 1 ngày
(0 Đánh Giá)
0.0

6 freelancer đang chào giá trung bình $88 cho công việc này

manhpham

I am .NET expert. I am confident to handle your project.

$150 USD trong 2 ngày
(28 Đánh Giá)
4.8
kikhan

I am experienced firefox addons and web developer. I have already figured out the problem and can deliver the full solution today. Accept my build to start right now!

$30 USD trong 1 ngày
(7 Đánh Giá)
4.6
nitingoyal1808

Hi, I have made changes in the mentioned java script and it is now working in all the browsers(Effectively). I am ready to handover the code. Just assign me the project will give you the code instantly.

$30 USD trong 2 ngày
(2 Đánh Giá)
1.6
ommshakya

Hi donhenderson1961 I can do your task. Please see your personal message box.

$40 USD trong 1 ngày
(0 Đánh Giá)
0.0
cognitivlabs

Hi,i am jawad. please see my portfolio and PM. we have created many interactive sites using jquery and java-script. we have got some master client side coders. trust me, its nothing Thanks

$175 USD trong 2 ngày
(0 Đánh Giá)
0.0