jquery google link

Posted by Val on Stack Overflow See other posts from Stack Overflow or by Val
Published on 2010-05-23T14:22:47Z Indexed on 2010/05/23 14:30 UTC
Read the original article Hit count: 352

Filed under:
|
|

Has anyone got any idea how this google code works?

i got the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>My Google AJAX Search API Application</title>
    <script src="http://www.google.com/jsapi?key=blahblahblah" type="text/javascript"></script>
    <script language="Javascript" type="text/javascript">
  google.load("jquery", "1");
   google.load("jqueryui", "1");
    </script>
  </head>
  <body>
   <div class="ui-state-highlight">
    hello world
   </div>
  </body>
</html>

However the <div></div> should display the error box with hello world. but it doesn't show the red background therefor the ui is not working ...

What have i done wrong here?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ui