Error : oRS not defined

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Error : oRS not defined

    <INPUT TYPE=BUTTON NAME=cmdUpdate onclick="oRS.udpatebatch
    ()" Value="Update Records">

    Any wrongs in this script?

    DS
    DS Guest

  2. Similar Questions and Discussions

    1. initUI Not Defined Error
      :confused; I no longer have the ability to insert hyperlinks within DreamWeaver MX 2004. When I try to insert a hyperlink I select the option...
    2. #25677 [Fbk->NoF]: Error: Symbol len already defined.
      ID: 25677 Updated by: sniper@php.net Reported By: webmaster at animelab dot com -Status: Feedback +Status: ...
    3. #25677 [Fbk]: Error: Symbol len already defined.
      ID: 25677 Updated by: sniper@php.net Reported By: webmaster at animelab dot com Status: Feedback Bug Type: ...
    4. #25677 [Opn->Fbk]: Error: Symbol len already defined.
      ID: 25677 Updated by: sniper@php.net Reported By: webmaster at animelab dot com -Status: Open +Status: ...
    5. #25677 [NEW]: Error: Symbol len already defined.
      From: webmaster at animelab dot com Operating system: Linux VPS PHP version: 4.3.3 PHP Bug Type: Compile Failure Bug...
  3. #2

    Default Re: Error : oRS not defined

    It appears that you are attempting to mix server side code with client side
    code. onclick is a client-side event. By the time there is something to
    click, the server has finished doing all it's active serving of the page,
    and there is no such thing as an "oRS." There never will be, because that
    object existed only on the server, but this button is in a browser. To
    perform an action on the server, you have to make a trip back to the server,
    which will often be done by having the user submit a form.

    Ray at home

    "DS" <anonymous@discussions.microsoft.com> wrote in message
    news:093501c3af1e$521826a0$a101280a@phx.gbl...
    > <INPUT TYPE=BUTTON NAME=cmdUpdate onclick="oRS.udpatebatch
    > ()" Value="Update Records">
    >
    > Any wrongs in this script?
    >
    > DS

    Ray at Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139