views:

60

answers:

1

Hi,
when i copied this code from page error found that there is syntax error in this line in dreamweawer.

<a href="javascript:ajaxpagefetcher.load
   ('bob','sub/content2.htm',false,'',['page.css'])">Load Content 2</a>

Please suggest answer.. thanks

+1  A: 

Don't you have a problem because of the line break ?

It might cause a "semicolon insertion", separating your statement in two.

siukurnin