No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
발로 코딩하는 개발ìž. ì–¸ì œì¯¤ ì†ìœ¼ë¡œ 코딩하지..
13 Posted Topics
Re: ajax will send on line 18 Ajax.Updator... i think after Event.stop.. check Validation. and make oOption and send request.. or just return.. will good enough | |
Re: you can controll cookie with javascript. http://www.w3schools.com/js/js_cookies.asp you can find how to use cookie here. simple solution is here reg.jsp <% String fname = request.getParameter("fname"); String lname = request.getParameter("lname"); String email = request.getParameter("email"); String uname = request.getParameter("uname"); String pass = request.getParameter("pass"); %> <script> var cookie_name = "login_cookie_"+"<%=email%>"; var cookie_value = … | |
Re: check here for the status code. SC_MOVED_TEMPORARILY is code 302. http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Response-Status-Line.html status302 and header location need "ABSOLUTE PATH". make home.html to absolute path | |
Re: remove iframe, and try ajax with div. if you can get html source by servlet, then try this on webpage (if you use jquery) $.post( SERVLET_PATH, {paramKey:paramValue}, function(data){ $("#DIV_ID").html(data); }, "HTML" ); | |
Re: http://www.w3schools.com/html/html5_app_cache.asp check about html5 application cache. | |
Re: # style # .toggle-example2{ width:100px; height:35px; position:relative; } .button{/*Modifikohet butoni Open Close*/ background:#eee; border:0; color:#333; cursor:pointer; font-family:"Lucida Grande",Helvetica,Arial,Sans-Serif; margin:0;padding:6px 4px; text-decoration:none; position:relative } .example p{/*Modifikohet teksti qe shfaqet*/ border: 1px solid #eee; border-radius: 8px;/*Kulmet e drejtkendeshit ku shfaqet teksti*/ width: 500px; padding: 10px;/*Cakton pozicionin se ku do filloi teksti brenda … | |
Re: var edit = document.getElementById('itemfilter'); $(edit).click(function() { localStorage.setItem('todoData', this.innerHTML); }); to 1. add full html $("ul.ft-field").click(function(){ localStorage.setItem('todoData', $(this).html()); }); or 2. add each li $("ul.ft-field").click(function(){ $("li",this).each(function(){ localStorage.setItem('todoData', $(this).html()); }); } | |
Re: http://www.w3schools.com/jsref/met_win_setinterval.asp use setinterval method. start setinterval onload, and if usbAvailable is true, then clearInterval. | |
Re: [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <script type="text/javascript"> <!-- function init(){ getName(); //and other scripts that execute onload event } function getName(){ var nameForm=document.frm; var name=prompt("your name plz","");//save inputted prompt value to var name.. if(name != null && name!=""){ alert("welcome ! "+ name); … | |
Re: i think you`ll need eval method.. check this code [CODE]alert(eval("obj."+field+".value"))[/CODE] if field has "Extension", then it work as [CODE]obj.Extention.value[/CODE]. | |
Re: how did you called ajax on that page? can i see full script? | |
Re: [CODE]<html> <head> <title>JavaScript</title> <style type="text/css"> font{ color:#663300; font-variant:small-caps; font-family:calibri; font-size:15; } </style> <script type="text/javascript"> <!-- function Assess(){ var g ; // alert(document.all.formKo.BoxText); for (x=0;x<inp;x++){ g = document.formKo.BoxText[x].value; if (g==""){ alert("No input found at TextField #"+(x+1)+" ." + g); } } } //--> </script> </head> <body> <form name="formKo" action="JavaScript:Assess()"> <script type="text/javascript"> … | |
The End.