开发者

How to use JAlerts

Hi I am new to jQuery. Can some body tell me how to use JAlert in a project. Please help. thnx

ps

Hi I have used it in a netbeans project. But it doesnot work

<html>
    <head>
        <script type="text/javascript" src="jquery.js" ></script>
        <script type="text/javascript" src="jquery.jalert.js" ></script>
        <link href="jalert.css" rel="stylesheet" type="text/css" media="screen" />
        <script type="text/javascript"></script>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script>
        function hello()
        {
           jAlert('Price should be blocks of 10 cents', 'FAILED', );
        }
        </scri开发者_如何学编程pt>
    </head>
    <body>
        <form name="accounts" method="POST" action="test.jsp">
            <input type="button" name="clientAccount" value="click" onclick=hello()>
        </form>
    </body>
</html>

can sombody tell me what the problem


Go to the jAlert demo page and view the source code.


see http://www.smooka.com/blog/2009/02/22/jalert-jquery-alert-box-plugin/

But please first search for jalert in Google, if you can't find something, you can ask a question here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜