jQuery: The Write Less, Do More JavaScript Library

uframe - src not a valid attribute of element div

View: New views
1 Messages — Rating Filter:   Alert me  

uframe - src not a valid attribute of element div

by davidm.me :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm trying to use UFrame which according to the info should allow a <div> to act
like an IFrame by using a src attribute to specify the page to load in the div.
I've included the following:

<script src="~/Scripts/jquery-1.3.2.js" type="text/javascript"></script>
<script src="~/Scripts/htmlparser.js" type="text/javascript"></script>
<script src="~/Scripts/UFrame.js" type="text/javascript"></script>

The problem is when I try to use

            <div class="UFrame" id="UFrame1" src="EmployeesPage.aspx" >
            </div>
I'm informed:

                     Atrribute src is not a valid attribute of element div

Any ideas what I'm doing wrong - I'm using vwd2008.
Thanks for any help

David

"paddling upstream searching for the source"