Neither:
javascript
:openwindow()
nor (as you have it in the actual code):
javascript
:openWindow()
are native javascript methods. So, if the function that it refers to is not available to the page (a function is an object) - "Object Expected". Another potential problem is this (red):
Code:
'Notes_AddLink.do?piNbr=<%=PI %>'
This looks like asp server side code to me. In any case, it had better be some sort of server side code, if it isn't, the > part makes the browser think you are closing the input tag. Even if it is server side code, if the page it is on isn't being processed server side - lacks the proper, probably .asp extension for its filename, or the server it is on isn't enabled for this type of server side code, or you are running it locally - any of that, and it will make the browser think that the input tag has been prematurely closed. If that's happening, it could also give the "Object Expected" error, as it looks like you are running a function, but there are mal-formed parameters. Parameters are also objects in javascript.
So, you tell me, which is it?
Or:
Please post a link to the page on your site that contains the problematic code so we can check it out.
Bookmarks