Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 174
Search took 0.61 seconds.
Search: Posts Made By: otnj2ee
Forum: Java and JSP 04-15-2013, 04:45 PM
Replies: 1
Views: 370
Posted By otnj2ee
Manage Special Characters

In the JSP there is a field: <input name="award" value="AV® Preeminent™" />

After the submit to the java side, i.e., via request.getParameter("award"); the value changes for ® and ™. As the...
Forum: Ajax and Design 04-08-2013, 06:35 PM
Replies: 1
Views: 342
Posted By otnj2ee
How to force an AJAX call

Firefox 19 on Windows 7.

var ajaxRequestObj = getXMLHttpRequest();
var ajaxParm = "test?cmd=testFunc";
sendRequest(ajaxRequestObj, ajaxParm);

The above codes work fine on IE and Chrome, but...
Forum: HTML & CSS 03-07-2013, 04:47 PM
Replies: 1
Views: 124
Posted By otnj2ee
IE add double underline automatically???

Try to develop a web page on Internet Explorer 9. It is actually very simple, see I want to display the text: "Immigration" or a word "auto". After the page is displayed, I see there are blue...
Forum: JavaScript programming 02-28-2013, 08:16 PM
Replies: 9
Views: 355
Posted By otnj2ee
While I am here. How can I dynamically trigger...

While I am here. How can I dynamically trigger the browser's Back or Forward button? For example, when in javascript,

if (condition == "1") automatically trigger the browser's Back buton
Forum: JavaScript programming 02-28-2013, 07:17 PM
Replies: 9
Views: 355
Posted By otnj2ee
Given the fact that I can not stop the browser's...

Given the fact that I can not stop the browser's standard warning message, is there a work around if I want to display a custom message instead, when the use tries to close the browser or navigate...
Forum: JavaScript programming 02-28-2013, 06:37 PM
Replies: 9
Views: 355
Posted By otnj2ee
Stop Browser's Message When Change Page

For either latest Firefox or IE, I tried to inform the user that he/she has made changes on the current form, and if the he/she wants to save the changes.

So on the jsp, I coded:
<script>...
Forum: HTML & CSS 02-27-2013, 09:54 PM
Replies: 2
Views: 245
Posted By otnj2ee
Many thanks.

Many thanks.
Forum: HTML & CSS 02-27-2013, 08:26 PM
Replies: 2
Views: 245
Posted By otnj2ee
How to remove the underline of <a>

When use <a href="xxxxx">test</a>, it always displays a blue underline. How to make it not shown up?


Thanks to help.
Forum: JavaScript programming 02-23-2013, 05:15 PM
Replies: 10
Views: 384
Posted By otnj2ee
How to add white space to the option text

How to add white space(s) to the option text?

<select id="sel">
<option value=""></option>
</select>

<script>
var text ="abc xyz";
var value ="val";
var contrlObj =...
Forum: JavaScript frameworks 02-05-2013, 08:52 PM
Replies: 1
Views: 226
Posted By otnj2ee
prototype.js new Ajax.Updater

I used to use the Prototype JavaScript framework, version 1.4.0. When I tried to reload my page to a div container, I'll call:

var myAjax = new Ajax.Updater(
{
...
Forum: HTML & CSS 12-07-2012, 12:05 AM
Replies: 0
Views: 257
Posted By otnj2ee
Forum: JavaScript programming 10-30-2012, 02:39 AM
Replies: 2
Views: 334
Posted By otnj2ee
View Javascripts

If I include a javascript file as

<script language="JavaScript" type="text/javascript" src="js/test.js"></script>

in a jsp page.

When the page is loaded, the users can use the View Page...
Forum: JavaScript frameworks 10-26-2012, 04:00 AM
Replies: 1
Views: 449
Posted By otnj2ee
RegExp

For a string of the formats: abc_def_ghl or abcd_xyz, abc_def_ghl_k, etc

I like to replace the "_char" with the uppercased char, for example:

abc_def_ghl --> abcDefGhl

abcd_xyz --> abcdXyz...
Forum: JavaScript programming 10-25-2012, 05:30 PM
Replies: 4
Views: 373
Posted By otnj2ee
Thanks for the link. I downloaded #3 and saved...

Thanks for the link. I downloaded #3 and saved it to my server's WebContent/images directory. I gave it a name: dial.gif.

Next I tried to used it in a popup <div> (z-index based).

The...
Forum: JavaScript programming 10-24-2012, 08:45 PM
Replies: 1
Views: 4,250
Posted By otnj2ee
reload javascript on IE9

Using IE9.

In the JSP page, I added <script type="text/javascript" src="test/scripts/test.js" ></script>

The file test.js contains a simple function test(){alert("loaded");} to open the...
Forum: JavaScript programming 10-24-2012, 05:24 PM
Replies: 4
Views: 373
Posted By otnj2ee
Thanks for the recommendation. But that way...

Thanks for the recommendation. But that way exceeds my needs. All I need is a simple circle with the tiny bars rotating along the circumference. This will be used, when the user does the search...
Forum: JavaScript programming 10-23-2012, 07:22 PM
Replies: 4
Views: 373
Posted By otnj2ee
Rotating Dial

There is a free rotating dial displayed on the screen when waiting for a process to complete. But I do not remember the link.

Could anybody help me on this? (How how to make one, if possible).
Forum: JavaScript programming 10-21-2012, 12:51 AM
Replies: 1
Views: 258
Posted By otnj2ee
radio button checked issue on IE

Created a set radio buttons on a JSP.

<input type="radio" id="radio1" name="test" value="A" />AAA
<input type="radio" id="radio2" name="test" value="B" />BBB

At the end of the...
Forum: HTML & CSS 10-20-2012, 11:06 PM
Replies: 3
Views: 291
Posted By otnj2ee
<a> Button Display on IE

To make an <a class="button"> based button, I used the CSS:

.button:link{
border-radius: 5px; /*and other settings*/
}

This presents the button with a round corner on Firefox, but a squared...
Forum: HTML & CSS 10-18-2012, 08:41 PM
Replies: 6
Views: 459
Posted By otnj2ee
Use CSS to display cursor

For displaying a link, instead of using <a>, I used <div class="xxxxxxx">, such as

<div class="first" >
Outer line
<div class="second">
inner line
</div>
</div
Forum: HTML & CSS 08-19-2012, 01:43 AM
Replies: 2
Views: 275
Posted By otnj2ee
Display button on Firefox vs IE

The same piece of codes (see below) generated different displays on Firefox and IE.

<style>
.linkButton {
background: #7CFC00
text-decoration: none;
border: 1px solid #aaa;
...
Forum: HTML & CSS 08-18-2012, 06:00 PM
Replies: 4
Views: 407
Posted By otnj2ee
The basic css is like: #p, #p ul { ...

The basic css is like:

#p, #p ul {
float:left;
padding: 0;
margin:0 0 0 1em;
list-style: none;
line-height: 1em;
border: solid silver;
border-width: 1px 0;
Forum: HTML & CSS 08-18-2012, 05:05 PM
Replies: 4
Views: 407
Posted By otnj2ee
Make Menu Bar flexible

I use the list to present the menu bar:

<ul id="p" style="border-top:none; border-bottom:none;">
<li id="c1" class="list"><a href="#">abc</a></li>
<li id="c2" class="list"><a...
Forum: HTML & CSS 08-17-2012, 08:21 PM
Replies: 1
Views: 243
Posted By otnj2ee
Button link and hover

ISSUE:

The .btn{} section works only if it co-exists with a:link,a:visited and a:hover,a:active. If I do so, all the <a> links across the application will be affected.

What I truly want is that...
Forum: HTML & CSS 08-17-2012, 06:38 PM
Replies: 2
Views: 329
Posted By otnj2ee
How to heep elements on the same line

<div>
<div id="1st">First</div><div id="2nd">Second</div>
</div>

When displayed, the words "First" and "Second" are in two separate lines.

How can I keep them in the same line?
Showing results 1 to 25 of 174

 
Forum Jump

All times are GMT +1. The time now is 12:31 AM.