Well, to start with

this line

var $j = jQuery;

should be this

var $j = jQuery.noConflict();

http://docs.jquery.com/Using_jQuery_with_Other_Libraries





On Dec 10, 5:59 pm, ricva <[EMAIL PROTECTED]> wrote:
> First time trying jquery.  VS2008, .net 3.5, IE 8
> I expected to see the “Hello”, but can’t seem to get it. Please help!
>
> <%@ Page Language="C#" AutoEventWireup="true"
> CodeBehind="JTest.aspx.cs" Inherits="CoralWeb.JTest" %>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
> <html xmlns="http://www.w3.org/1999/xhtml"; >
> <head runat="server">
>     <title></title>
>     <script src="Include/jquery-1.2.6.min.js" type="text/javascript"></
> script>
> </head>
> <body>
> <script language="javascript" type="text/javascript">
>     var $j = jQuery;
> </script>
>     <form id="form1" runat="server">
>     TEST <br />
>
>     <div id="divMsg">
>     </div>
>     </form>
> <script language="javascript" type="text/javascript">
>     $j(document).ready(function()
>     {
>
>         $j("divMsg").innerHTML = "Hello!";
>
>     });
>
> </script>
> </body>
> </html>

Reply via email to