hi all,
i’m a newbie in web pogramming.
Right now i’m in a project using vb 6.0, asp and javascript.
Lately i’m stuck in showing a message box to user after a user inserting data that already exist in the database. so to do this, i’m trying to do the checking with asp to call the vb function that check the existency of that data, then show messagebox with javascript if that function returning ‘true’.
so the javascript is inside a if-else asp.
but the result is that that message box is show in both condition. i wonder if there’s some issue under putting a javascript inside a if-else body of asp, or could b my problem is elsewhere.
but if there’s other suggestion to do what i’m trying to do here, is highly apreciated.
thx