Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,460 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,782 people online right now. Registration is fast and FREE... Join Now!




object expected error in IE

 
Reply to this topicStart new topic

object expected error in IE

swagatika_j
24 Jul, 2008 - 01:46 AM
Post #1

New D.I.C Head
*

Joined: 22 Jul, 2008
Posts: 6

My script is working fine in firefox.But it is giving object expected error in IE.The code is given below
CODE


                                        <div id="btn_report{$cur.v_profile_id}" action="messages.php?c=report_abuse&pid={$cur.v_profile_id}" method="post">
                                          <a href="java script:report('btn_report{$cur.v_profile_id}');" class="sr">Report Abuse</a></div>
  


I am calling the java scriot function report as below
CODE

    function report(div_name){
        showhide('popupbox','show');
        //showhide(div_name,'hide');
        HTML_AJAX.formSubmit(div_name,'popupbox');
    }


Can anyone please tell why "object expected error is coming";
User is offlineProfile CardPM
+Quote Post

ahmad_511
RE: Object Expected Error In IE
24 Jul, 2008 - 03:19 AM
Post #2

D.I.C Regular
Group Icon

Joined: 28 Apr, 2007
Posts: 351



Thanked: 8 times
Dream Kudos: 400
My Contributions
Hello,
first of, I don't think you can use the ( action ) with a ( div ) element!
second of, where is the function showhide()
if you post all the code that works on FF I'm sure it will be easier to discover the errors

Good Luck
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 04:10PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month