I have some problem in parseInt property.....i have a variable temp..temp = '08';when I try the following codealert(parseInt(temp));it gives me value 0any solution?????and why it is so????
Is this the thing u required??<%dim name name = request.form("name")if name = "" then response.redirect = ("error.asp?name_null")ElseDim conn Dim rs Set Conn = Server.CreateObject("ADODB.Connection")conn.Provider="Microsoft.Jet.OLEDB.4.0"conn.Open(Server.Mappath("/webdata/atc.mdb"))set rs = Server.CreateObject("ADODB.recordset") RS.open "reg",Conn,2,2rs.AddNewrs.Fields("Name") = Request.Form("name")rs.Updaters.CloseSet rs = NothingSet Conn = Nothingresponse.redirct="confirm.asp"end if %>
Hi,I have a table Student With Column Student NameI want to do is thatThe Names Starting with 'S' , should start with 'K'e.g Students names areSid, Subbu, Sigma, suki..Then should be convert toKid, Kubbu, Kigma, Kuki....Thanx,Waiting...
U can call function on OnMouseOver event of that element.and U can refer an element by its id as getElementById("listone").class = "liststyleon" / "liststyleoff";
I m not giving u the perfect solution but you can try doing something like....For The Textarea on keypress event call a function.If The Key pressed is ENTER then add that element into a javascript aray.last element u can get by searching last and 2nd last Enter..This is the logic according to me.there may be better way.
Is this the thing you want??
<html> <head> <script type="text/javascript"> function disp_prompt() { var name=prompt("Please enter your name","") var Age=prompt("Please enter your Age","") if (name!=null && name!="") { if (Age != null && Age != "") { document.write("Hello " + name + "! Your age is "+ Age); } } } </script> </head> <body> <form> <input type="button" onclick="disp_prompt()" value="Display a prompt box"> </form> </body></html>
Can you repeat the question in more simple wayWhat type of option you r talking aboutCheckBoxes,Radio buttons,Multiple selection Dropdowns,or List?By the way the check can be done using javascript in your code