Wrox Programmer Forums
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 30th, 2010, 02:00 PM
Authorized User
 
Join Date: Jul 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to saurabh
Default How run javascript in mozila ??

i have a function in javascript and i use it in asp.net 3.5, when i run it on mozila so that time i did't get any result
so can any one tell me how to run javascript in mozila, i m alreay enable javascript in mozila and check all this type of this.
 
Old August 30th, 2010, 04:13 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Difficult to say without seeing your code. Maybe you're using non-standard JavaScript?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old November 7th, 2010, 11:14 AM
Authorized User
 
Join Date: Jul 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to saurabh
Default how to run this script in mozila help

<script type="text/javascript">

function ClintDataTime()
{
var dt = new Date();
var dd = dt.getDate ();
var mm = dt.getMonth ();
var yyyy = dt.getFullYear() ;
var hr = dt.getHours();
var min = dt.getMinutes();
var sec = dt.getSeconds ();
var DisplayDate=document.getElementById("Lbl_DataTime" );
DisplayDate.innerText="Time:-"+hr+":"+min+":"+sec+":"+" Date:-"+dd+":"+mm+":"+yyyy;
}

</script>


i m using this script aspx page for get client date and time but this script not run at mozila browser, so can any one help me at this topic.
 
Old November 7th, 2010, 11:31 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Take a look here: http://stackoverflow.com/questions/1...not-in-firefox

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old November 7th, 2010, 11:47 AM
Authorized User
 
Join Date: Jul 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to saurabh
Default

Thanks................ Alot





Similar Threads
Thread Thread Starter Forum Replies Last Post
FileUpload is working with IE, not with Mozila venkatesham Javascript How-To 2 April 21st, 2009 04:35 AM
how to run a .js file from a javascript function sbkumar Javascript How-To 1 July 11th, 2008 11:12 AM
stop current javascript function using javascript sakthi Javascript 3 June 2nd, 2008 03:30 PM
How can I run or not run Google AD in my ASP.NET w mycwcgr ASP.NET 2.0 Professional 0 November 5th, 2007 07:18 AM
Output should appear in Mozila instead of IE anujrathi ASP.NET 1.0 and 1.1 Professional 2 August 30th, 2006 09:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.