Client-Side Development Section Index | Page 7
How can I detect whether my popup window is blocked by a popup blocker?
How can I detect whether my popup window is blocked by a popup blocker? How can I detect whether my popup window is blocked by popup blocker and inform the customer/caller through alert that the po...more
Use of right technology at right place I have three coding technologies javascript,jsp,servlets.
Use of right technology at right place
I have three coding technologies javascript,jsp,servlets.Through discussions on websites dedicated to each one of these technologies it is evident that it is ...more
How to handle Enter Key. I need to build html code which every time user press enter key on a input text tag, following input box must be focused.
How to handle Enter Key
I need to build html code which every time user press enter key on a input text tag, following input box must be focused.
I appreciate some help.
Best Regards
How to check whether an HTML form variable exists
How to check whether an HTML form variable exists
Hello. I have an HTML form. Sometimes the form field "comments" is declared -
<input type="text" name="comments" size="50" maxlength="500" va...more
I am having problems with some JavaScript in a form I am putting together. I require the script to set the value of the text field 'mla6' in the form 'cq' to the combined total of the values in 'mla2' and 'mla4'.
problem adding in javascript
I am having problems with some JavaScript in a form I am putting together. I
require the script to set the value of the text field 'mla6' in the form 'cq' to
the comb...more
can I write the scriptlet into a function and call it pls respond urgent?
can I write the scriptlet into a function and call it pls respond urgent?
<%(if Session.store.length==1)
Session.store="000" + Session.store
else if (Session.store.length==2)
Session.store= "00"...more
detecting os version using javascript
You should use the navigator object to get info about the OS
below in red are the properties of navigator object and the near cells are the values on my machine.
use the properties as object.pr...more
How to determine whether a user has a flash player installed on their system using java script.
<script language="javascript">
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] ?
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin ...more
how to check the whether cookies enabled or not
how to check the whether cookies enabled or not
A Very Basic question - Launch new window with on the fly content, not a HTML FILE.
A Very Basic question - Launch new window with on the fly content, not a HTML FILE.
Hi,
I want to launch a new window, BUT the contents of the new window IS NOT an HTML file or CGI script. It is r...more
I want to load the "select" dropdown values dynamically. That is I am getting the values of dropdown from the data base. How to set the set it dynamically?
You should use Option object to dynamically edit the combo boxes.
The Option object is created using the word new
myOption= new Option();
the text and the value of the Option object is set just...more
One of the items in my dropdown list is "Other". When the user clicks on it I want to open a new text box where user can enter the values. How do I do this?
You have to use divs to hide and show a form element. Pay attention to Netscape HTML coding here. Below is a simple form element showing and hiding example
Below is a list of items you have to be...more
How to retrieve a value that is selected from a combo box?
<SELECT id=select1 name=select1>
<OPTION value=a>a</OPTION>
<OPTION value=b>b</OPTION>
<OPTION value=c>c</OPTION>
</SELECT>
<INPUT type="bu...more
I have seen many sites which provide fancy mouse pointers. How do they do it?
Select the particular type of fancy cursor from the list in this
Dynamic Drive site.
What is the easiest way to convert my java beans into xml?
Use java.beans.XMLEncoder.
XMLEncoder e = new XMLEncoder(
new BufferedOutputStream(
new FileOutputStream("Test.xml")));
e.writeObject(new JButton("Hello...more