20,316 Topics
i want to make a login window that should be opened in the same window . this window opener must be disabled. please can any one help me to resolve this problem thank you so much
hey guys... last nite i made a calculator using javascript...the only prob m having is that m not able to make memory in the calculator. memory means MR,MS MS-->is used to store the displayed no MR-->recall the stored no PLEASE HELP
Hey folks, I've got a real head-scratcher here. Below is a simple, quick script I've written that defines an object that contains an array plus an ID property. I then create a nested chain of objects by storing each child in the parent's array, like so: [CODE] function TestObj() { …
Hello! I am enrolled in Masters in IT and we were newly introduced to XUL programming. It is close to XML. we are to asked to make a simple calculator and I am really having hard time. I hope the community can help. Best regards Rosilie Lim
Hi, I have a HTML page with a form in it. I need to pass a parameter to my Visual Basic application if the signup was successful. My HTML form is simple: [CODE=HTML] <form action="signup.php" method="post" name="signup" onSubmit="return signup();"> <!-- Some text boxes and check boxes --> </form> [/CODE] On …
i need samples coding for MouseUp, MouseDown, MouseLeave,MouseEnter events which suitable for web application. thanks,
i need samples coding for MouseUp, MouseDown, MouseLeave,MouseEnter events which suitable for web application. thanks,
catalina.bat file is missing error comes when i run jsp page with tomcat 5.5 and netbeans 6.0. i have tried different mirrors for tomcat5.5 but above mentioned error comes always
I trying [icode]Window.unload=setcookie(username,'xyz',365);[/icode] where [code=JavaScript]function setCookie(c_name,value,expiredays) { var exdate=new Date() exdate.setDate(exdate.getDate()+expiredays) document.cookie=c_name+ "=" +escape(value)+ ((expiredays==null) ? "" : "; expires="+exdate.toGMTString()) }[/code] not working....... can anybody help me?
Hello, I want to be able to echo a redirect url, based on a few variables. The content type of this php script is set as Header("content-type: application/x-javascript"); here is my code: [CODE] $row = mysql_fetch_row($result); echo "window.location = \"http://myurl.com/test/".$row[0]."/index.php?name=".$row[0]."\";"; [/CODE] Right now the url just outputs the url as …
Okay, well the problem is I have written scripts for a site that works perfectly. I tried altering it so that I could make more use of the menu, however that failed. So I wrote the menu seperately. Now borth work perfectly, but I cannot seem to combine the two …
Hello People! Hope, you solve my problem. I program in VB.NET and have a WebForm that contain a client Javascript counter (min:sec) to zero. I use this code to show up a counter. [CODE]<script language="javascript"> var up,down; var min1,sec1; var cmin1,csec1,cmin2,csec2; function Minutes(data) { for(var i=0;i<data.length;i++) if(data.substring(i,i+1)==":") break; return(data.substring(0,i)); } …
HI i would be more than thankful if anybody can tell me why this don't work, the problem is that the JS counter won't work when there are more then 1 entrys in mysql. With one entry the script runs fine. Heres the code: [code] <table> <? //Connect to mysql …
Hi, I tray to check browser which open the page. For different browser i need use different css. How i can check browser and use different css. Thanks
hi guys. i require some assistance of yours again. what i want is this: there is a form (say on page xyz.php) in which i have , say, 5 text-fields. but i also hav a button. upon clicking whihc, i want another text-field to appear. i do now want to …
hi guys. i require some assistance of yours again. what i want is this: there is a form (say on page xyz.php) in which i have , say, 5 text-fields. but i also hav a button. upon clicking whihc, i want another text-field to appear. i do now want to …
i have two text boxes with the id as first and second respectively.In javascript i took the values using [code] var first=document.getElementbyId("first").value. var second=document.getElementbyId("second").value. var sum=first+second; [/code] But the problem is when i alert the sum i got the result as concatenated.i didn't get the original sum.I also tried it …
I am helping a friend make a site using FrontPage 2002. He wants to have on his home page at the top 3 slideshows next to each other and changing at same time automatically. I am not familiar with javascript but (with the help of some of the wonderful tutorials …
I don't know if this is the best section to ( ask questions ). So, excuse me. It's my first topic anyway, and I couldn't find any other section to ask for help. I believe you don't need any explanation about my problem, but here it is anyway: E.g : …
I have a DHTML ajax pop up that I would like to have centered in the page as it is currently left justified. Also, I would like it to only show the first time a user views the page. Here is the code: [CODE] <script type='text/javascript'> // Browser safe opacity …
Hi, I have made a webpage with 3 divs and have put images / text on these pages which can be dragged. I want to limit the area in which the user can drag the text. The user will be allowed to drag the text from the left div to …
I do not clearly understand this concept of scripting. May someone please explain this to me and give me some applications of scripting. I have seen some examples of scripts but I am trying to really see what can be achieved through scripting. I hope am not jumpig the gun …
hi all, iam trying to retrieve video file from database bit its nat working here is my code[CODE]<? include_once('functions.php'); include_once('conn.php'); if(!empty($_GET['pid'])) { $pqry="SELECT * FROM vdo_cat where c_id='".$_GET['pid']."'"; $pres=mysql_query($pqry) or die(mysql_error()); $prow=mysql_fetch_array($pres); $len=strrpos($prow['videos'],'.'); $vtype=substr($prow['videos'],$len+1,5); $vname=($prow['videos']); if(isset($vtype)) { ?> <link href="site.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- body { margin-left: 0px; …
hi [COLOR="Green"]below the coding i not opened the popup window [/COLOR] Code: [code] <html> <head> <script language="JavaScript"> window.open('test.htm','myExample9','width=200,height=200'); } </script> </head> <body> <form action="test.htm" target="myExample9"> <input type="submit" value="Open new window"> </form> </body> </html> [/code]
did anyone know how to make a calendar by using javascript? actually i want to put calendar next to text field, so that, the user can easily select the date and the date will come out in the text field......help me plzzz.....
hi all i have a question about the java button listener i m working on this project where i want the user to input their value in the textfield and when user press the button the value needs to show on the label next to it. so now i got …
How would I make something like they have on BBC iPlayer with their scrolling images and text. Thanks, Unreal. :)
I am a newbie ...and i m working on a casetool....named Coolgen... Which Generate the jsp pages.... now i have added a html control on my page...... <input id="demo1" size = "10" onBlur="magicDate(this);validate1();" > Now there is a onther field.... which is ool gen field.........whose id is 'PUBLISH_DATE' i want …
Hi, I don't know much about javascripts. I am preparing a module in PHP in which I have to validate data entered by a user through javascripts. Now there is a field in which I have ensure that the value entered by the user already resides in the database. How …
actually, i want to display back all checked value in checkbox..In my form, there is some checkbox element where the user should check necessary value b4 submit the form....My problem is, once the user has submit the from, i can't retrieved only checked value.....it display all value including unchecked value …
hi guys, I found a simple whois script and intregrated it completely into my site before testing it on IE (oooops!) and it only works on firefox and safari. On IE the result text that should be written as a result of the below section of the code: [CODE]if (eregi('No …
Hi, I am developing a module in PHP where I have to ask user to enter dates in two fields. The catch is that the second date entered should come after the first one in a calendar year. eg- if first date field has value of June 2,2008 then the …
[code] <html> <head> <title>swapimage</title> </head> <script> var arr=["C:\Documents and Settings\Mohan Krishna\Desktop\ku20.gif","C:\Documents and Settings\Mohan Krishna\Desktop\b30.gif","C:\Documents and Settings\Mohan Krishna\Desktop\goku12.gif"]; i=0; function swap() { document.images[0].src=arr[i]; i++; if(i==3) i=0; setTimeOut("swap()",5000); } </script> <body bgcolor="white"> <marquee behaviour="alternate" direction="left"><img src="C:\Documents and Settings\Mohan Krishna\Desktop\UNUSED DESKTOP ITEMS\batman5.gif" onClick=swap()> </marquee> </body> </html> [/code]
i am using a JS code to obtain the cursor position on a text area..it works botyh in Mozilla and IE..But the problem is when am using this in IE, am getting an alert box which has the contents like [object] ...the code is like this [code] function getPositionForConstraint(node) { …
Dear All, I have a problem with delete confirmation code in java script. i m using this code: [code] <script LANGUAGE="JavaScript"> function confirmSubmit() { var agree=confirm("Are you sure you wish to continue?"); if (agree) return true ; else return false ; } </script> [/code] in Asp page on click of …
Can anyone help me? I tried using spry in dreamweaver CS3 for the first time and, upon completion of my site, found that it isn't working in some versions of IE. It opens perfectly in Firefox, Safari, and Opera. Different versions of Internet Explorer seem to carry out the code …
I have created a custom user control which contains a radiobutton and some another controls. In my page, I use more than one instance of this control, so the user can check the radiobutton of all the instances of this control. the question: How to force that only one radiobutton …
Hello everyone, I'm using Thomas Brattli's window script from DHTMLCentral.com. It works great in IE, but in firefox, I get some errors. First is "oWin[i].oWindow.moveIt is not a function". I don't see why it doesn't work fine in Firefox if it works fine in IE. The function definition is there, …
Dear All, I have a problem with delete confirmation code in java script. i m using this code: [code] <script LANGUAGE="JavaScript"> function confirmSubmit() { var agree=confirm("Are you sure you wish to continue?"); if (agree) return true ; else return false ; } </script> [/code] in Asp page on click of …
Hai, I've to develop a [COLOR="Red"]dynamic web[/COLOR] project in my college. I'm interested on doing something different but I've no idea on what topic to select. Can you suggest me a good topic for the same. Hoping for lots of good ideas. Thank you all in advance !!!
hi all.... using javascript i want to add 01+1 and my desired output is 02. my code is var t=01; var t2=t+1; alert(t2); the alert value is 2. I want 02....what will i do? thanks in advance....
Hey Guys, I am new to PHP and know nothing of java scripts. I have to build a web page where user enters login information at the time of registration. I have taken help of a PHP tool to generate the required scripts. Now in that I have to incorporate …
Problem with javascript code in Mozilla firefox. [CODE]//Initial Code block PhaseID = cboPPPhase.options[cboPPPhase.selectedIndex].value; WorkflowRequest(PhaseID); //The function function WorkflowRequest(PhaseID) { //This is Ajax code block Http.get({url: "../ajax/Process.aspx?PhaseID=" + PhaseID , asynchronous:false, callback: WorkflowRequest_callback}); } //The callback function function WorkflowRequest_callback(Result) { if (Result.readyState==4) { if (Result.status==200)// if "OK" { WorkflowProcessResult(Result); } } …
hi, I have a application form in which i want to use exactly the same functionality used as in following link [url]http://my.naukri.com/manager/createacc2.php?othersrcp=5424&wExp=N[/url] I am an asp.net developer.I have no previous exp in javascript.Can any one suggest any method to implement this functionality using asp.net and javascript.
I have been studying Javascript for quite a while now and I've recently started some projects of my own to try it out. Although my script looks perfectly valid to me, the error console in my browser keeps reporting that my object data type-variables are undefined or null, but I …
hi, i have designed a navigation bar using pop up menus in fireworks and used the insert>image objects>fireworks html to put it on my web page. when previewing it in firefox and ie7 the popup menu doesnt work. looked at the coding in imported and it has an error im …
Hi. I'm using AJAX to make a menu for a guy's website I'm making for him. Anyway, he has a sports memorabilia store. I have a simple menu. There is a drop down box that you click on to select the sports league you want. Then below it is another …
i am trying to create a webpage. In creating webpage i have troubling by java script. I have to make a drop down button. The elements of drop down button are pakistan afganistan india. Question is, when i click on pakistan then cities of Pakistan must be show, same if …
Is it possible to send something like, a Frame or Applet to a target computer? If not, how would I set it up so that two users from two different computers could interact with the same JFrame or JApplet? Edit: No I'm not asking for code, just general advice*
im creating web page using html control. and also write JS function in that file. Now my problem is i want to call that JS function from mypage.aspx.cs..... validation is done in that JS function.
The End.