Allow Only Numbers And Full Stop?

Jan 26, 2010

How this can be amended to also allow only a full stop from being input?

Code:

<!--
function numbersonly(myfield, e, dec) {
var key;
var keychar;

[Code]....

View 2 Replies


ADVERTISEMENT

Stop Numbers Getting Added To A Text Field?

May 31, 2011

the program works fine but i want a way to make sure that the name field just accepts text and no numerical values

the program is here:

function submitit() {
if ((document.form1.name.value == "") || (document.form1.email.value == "")) {
alert("Please fill in all fields");
}

[Code].....

View 4 Replies View Related

Include Numbers And Alphabets Instead Of Numbers Only?

Apr 7, 2009

I need to modify the script showed at: [URL]

Right now it allows entering "numbers only", I need it so that it allows numbers and alphabets only, no special characters or spaces.

And yes, one more question, does the first part of the code need to be added in the <head> of the document or <body> ?

The code at the above URL is as follows:

<script type="text/javascript">
// initialise variable to save cc input string
var cc_number_saved = "";
</script>

[Code].....

View 2 Replies View Related

Confirm Doesn't Stop On Cancel / Stop It?

Nov 3, 2011

I m trying to make a person stay on same page on cancel, but the confirm takes the user to the next page like they press ok. how can i stop it? code...

View 1 Replies View Related

Add A Stop Button To Stop The Clock?

Oct 19, 2010

How do I add a stop button to stop the clock. Here is my code below.

<HTML>
<HEAD>
<script language="Javascript1.2">
<!--

[Code]....

View 3 Replies View Related

Getting The Full Url From Browzer?

Mar 9, 2010

have to develop a firefox pluggin that will read the user entered web address(if the pluggin is enabled).How do we get this from the browser address bar using javascript ?..any idea of methods other than 'var currentURL = window.location' .A simple guideline would be sufficient for me.

View 1 Replies View Related

Open Full Screen

Jul 23, 2005

I am using this script

"function openFullscreen(page) {
var yes = 1;
var no = 0;
windowprops = "width=" + (screen.width-10) + ",height=" + (screen.height-50)
+ ",top=0,left=0";
windowprops += (menubar ? ",menubars" : "") +
(scrollbars ? ",scrollbars" : "") +
(locationbar ? ",location" : "") +
(directories ? ",directories" : "") +
(resizable ? ",resizable" : "") +
(statusbar ? ",status" : "") +
(toolbar ? ",toolbar" : "");
window.open(page, 'fullPopup', windowprops);
}"

to open a window full screen, but when this window is hidden and I want to re-open it, I can't ..?

View 1 Replies View Related

Full Screen On Second Monitor?

Jul 20, 2005

I am working a project where I am using two monitors and using
HTML/Javascript to display the information I want.

I have my main stuff on the main monitor, but when each page loads, I want
an image to load fullscreen on the second monitor as well. I am using
800x600 resoution on both.

If I use:

function openWindow()
{
mainWindow = window.open("thispage.htm","pagename","fullscreen=yes");
}

that works fine for the main monitor.

I have then tried to use the second monitor to open an image by using the
same type of thing:

function imageWindow()
{
openImage = window.open("image.jpg","imagepage","fullscreen=yes");
openImage.moveTo(801,0);
parent.focus();
}

I am trying to use it with the onload command as well:

<body onLoad="imageWindow();">

I am passing arguments to these functions but simplified it here.

Anyhow it will only open it full screen on the first monitor. I can position
it and move it to the second monitor if it is not full screen just fine.

View 1 Replies View Related

JQuery :: Append It To Get Full Url?

Jun 20, 2010

I have an href tag which is basically in [url]...

But when I call this like window.aspx?url="+u.attr("href") it is giving onlywindow.aspx?url=...../get.ashx?id="+idI need to have the edit query string also. Without that I am getting error(Of course it will come)

I think I gave you enough description of my prob. Is there any way that I can append to the u.attr("href"). Please help me and it is urgent.

View 9 Replies View Related

JQuery :: Get The Full Value On Href Tag?

Sep 23, 2009

I am using an online e-commerce hosting solution and they wont let me get certain stored data because they have full control.Anyhow the link on the page looks like this:[URL]How do I match and then get the full value of the url. The important value is 12.

View 2 Replies View Related

JQuery :: How To Get Full Href

Jan 3, 2011

I wrote this code: $("#menu_nav_filter a").attr('href', $("#menu_nav_filter a").attr('href') + '#menu_nav_filter'); and I doesn't find all link, for example it finds: kamery.html?manufacturer=18 but should be: kamery.html?manufacturer=18&something=value&and=so_on

View 1 Replies View Related

Full Screen In Mozilla

Sep 14, 2009

I've following javascript to show full screen window like F11.

window.open(url, "myWindow", "fullscreen=1")

It works properly in IE, but not in mozilla.

way to work it out in mozilla

View 1 Replies View Related

PopUP Window Full Screen

Jul 23, 2005

What do I put in the javascript code to popup a window full screen?

View 2 Replies View Related

Re-Direct To Full Screen Window..

Jul 23, 2005

I have an asp page which just displays some information to a user few
a couple of seconds before redirecing.

This asp page is displayed in a small window.

I am using the following META tag to re-direct, but I want the next
page maximised.

<META HTTP-EQUIV="refresh" CONTENT="2;url=JobSheet.asp">

How can I get JobSheet.asp to open fullscreen from this code, whilst
closing the small window ?

View 1 Replies View Related

Set My Current Window To Full Screen

Sep 20, 2007

I found many method is about opening new window in full screen, but not change the current window to full screen, so it is possible in fact?

View 4 Replies View Related

Full Screen Script For Both Netscape And IE??

Jul 20, 2005

Is there any script out there that will allow me to launch a full-screen
window (without any title bar) in both NS and IE? I have found scripts
that work only in IE, but is there one that is compatible with NS also?

View 1 Replies View Related

Full Screen View Of The Site?

Oct 13, 2010

I have a j query sideshow and i want to put a link in slideshow page to view the slide show in full screen like in this site [URL] you can view the full screen by clicking the button on top right corner the problem is this site is in flash but we need this functionality in html.One more thing that i want to view in parent window not in popup or new window.

View 1 Replies View Related

How To Get Full HTML Image Tag Using Object Value

Oct 16, 2010

I have this simple code here:
var container = document.getElementById(con);
var obj = container.getElementsByTagName('img');
And I want to get the full HTML image tag using the obj value, if you get what I mean. So I want to get this:
<img src="images/image_209948045.jpg" />
by using this: obj[0];

View 6 Replies View Related

Wont Load The Full Map JS HTML5?

Nov 25, 2011

i,m trying to make an application with JS and html5 i have tryed to make a google map who loads my position and let me choose a target positioni got it to work but sudenly the map have stoped loading as it shud i need to tilt my phone to get it to load the full map and i can`t figure out what i have done wrong:(

<!DOCTYPE html><html>
<head>
<title>Sigvartsen</title>

[code]....

View 9 Replies View Related

How To View Full Source Of This Webpage

Sep 15, 2011

I'm trying to get HTML source of this webpage http://priceboard.kimeng.com.vn/webd...HoseBoard.aspxWhen I used function 'View Page Source' I get

...
<div id="divPTableInner" style="width:100%">
<div id="divPTable"><center style="margin:40px"><img src="images/loader.gif" width="32" height="32"

[code]....

View 3 Replies View Related

Opening Full View On Same Page?

Aug 16, 2011

I've seent his done on a couple websites.. alot on cargo type portfolios but havent been able to figure out how its done. I tried looking at this site here .. if you click any of the thumbnails u can see what I mean.. I been looking for this feature for my own site since it would get rid of the modal window im usin now and I can place more info into something like that.

Does anyone know what this is called?

View 6 Replies View Related

Can't View Full Item In List

Jun 8, 2005

I created 2 listbox, using <select multiple></select>. 1 listbox's name is A and another one is B.

If listbox A got 10 items and listbox B is empty, when I select 3 items and I press ">>>", the 3 items will move to listbox B and listbox A got 7 items .

when I select another 2 items and press ">>>" again ,the 2 items will move to listbox B and the listbox A and listbox B have 5 items.

If I select 1 item from listbox B and press "<<<", the item will move to listbox A. Now listbox A got 6 items and listbox B got 4 items.

View 2 Replies View Related

Show Events After Full Load?

May 25, 2011

I have an onClick event ( showEvent(event) - "ajax") which after a short delay calls another event ( showEvent2(event) - Iframe ). Can someone tell me if it is possible to code this that second event ( showEvent2(event) - Iframe) is shown only after it is fully ( 100% ) loaded.

function showEvent(event) {
Lightview.show({
href: 'redirection-notice.php',
rel: 'ajax',

[Code]....

View 4 Replies View Related

Pop Under Make Full Scree Or Uncloseable?

Jul 26, 2011

I am currently using a pop under for my wordpress blog. It works great, however, I want to be able to make the screen fully maximized, or uncloseable.

[Code]...

View 3 Replies View Related

Open Window Full Size Without Javascript

Jul 23, 2005

Here is what I wish to do:

Click on a PDF link and have it open as a full screen window - not as
a predetermined size.

Sounds simple?

I want to run the command from within the href only. I don't want to
have to create an HTML page for each PDF file.

This is the link.

<a href="pdf-PPT/05_70857_PPT30x80.pdf" target="_blank"
on=0,directories=0,status=1,titlebar=1,menubar=0,s crollbars=0,left=0,top=0,screenX=0,screenY=0');
return false;".....

View 7 Replies View Related

JQuery :: Cycle Plugin Full Screen?

Sep 8, 2011

I've attempted to get Cycle to function as a full screen slideshow.I love Cycle for it's simple clean code, and easy implementation and also powerful options.However, when I resize my browser window, even with OnResize events in place, the Cycle plugin usually maintains the images at the size of the onload event.So I ask you, as a meager and humble creative who loves to do front end dev... how can we get Jquery cycle working at full screen and with browser window resize?nd while these both are interesting and very useful, the code is very strict and the galleries are a "swiss army knife" combination of things, easily broken, and a little proprietary

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved