15,120 Topics

Member Avatar for
Member Avatar for shadiadiph

Sorry for another regex post but i have been trying to get a regex to work to check for unwanted characters in a string like @#?! I have tried [code] var cityreg=/^[^$%@!]+$/; [/code] but it doesn't seem to work?

Member Avatar for shadiadiph
0
2K
Member Avatar for asifakhtar

Hi, I have a form in which a user can create from 1 table to 10 tables which will dynamically create 2 HTML radio buttons, 12 checkboxes and 1 select drop down and 7 input textbox per table in JavaScript. I need help with printing the whole form with currently …

Member Avatar for fxm
0
159
Member Avatar for Kitten84

I have this webpage with many ads. Currently I have them appearing in a random order without repeating each time the page is refreshed. The code for that is here.. [code] <div id="ads"> <script type="text/javascript"> var i, images = []; // insert ads here images.push("<img src='Images/xxxxx.jpg' alt='' />"); images.push("<img src='Images/xxxxx.jpg' …

Member Avatar for Kitten84
0
169
Member Avatar for MANASkumarverma

I have a probelem - how to save information as a txt or js file and retrieve it later using only html or javascript .

Member Avatar for fxm
0
110
Member Avatar for whiteyoh

Hi All, At the minute I have a script, that ill post below, that simple echos out some information via ajax. My question is, how do i get the update without using meta refresh and without clicking anything at all? [code] <html> <head> <script type="text/javascript"> function showHint(str) { if (window.XMLHttpRequest) …

Member Avatar for whiteyoh
0
120
Member Avatar for crackerjacker

hi- currently i have a small (LAN only) web server running on my computer, and i would like to be able to make a web page in which i can run a program on the server computer from another compuer. say, for instance, i click a button on the web …

Member Avatar for crackerjacker
0
3K
Member Avatar for mikecronauer

I am trying to set up a web based tool for my wife and I to use to balance our checkbook together. I am using HTML, Javascript (Ajax), PHP and MYSQL. I have read beginner books on all of these subjects, I can get data out of MYSQL, BUT can't …

Member Avatar for mikecronauer
0
147
Member Avatar for shadiadiph

Hi I have been playing with this regex for a few hours now I want to make it so it accepts commas also any ideas? [code] var regname=/^[a-zA-Z\.\-'\s]*$/; [/code] At the moment it works with A-z and - . ' but can't seem to figure out how to include commas …

Member Avatar for shadiadiph
0
232
Member Avatar for gurpreet_ka

i am using javascript to print a pdf. when i click on print button,the pdf is generated nd saved somewhere and after that javascript code runs. This javascript opens the pdf and closes it(opens for a fraction of second) and then again open the same pdf with printer popup screen. …

Member Avatar for Taywin
0
105
Member Avatar for eswaramoorthy

Hi, I need to show the loading status(wait status) in cursor for all actions. If i perform some action([B]Login[/B]), then go to the backend and perform some process and it will return some value. Here this whole process will be taken some times. Now that time i want to show …

Member Avatar for javaAddict
0
150
Member Avatar for gurpreet_ka

hi all, I have separate action class and view(xhtml) in my project. i have a link in xhtml that opens a file. This file can be a word document or a pdf document or may be some other form but these two forms are confirmed. My requirement is that thon …

0
83
Member Avatar for MANASkumarverma

How can i edit a text file on a server and how to receive it back in a text box.And at last how to check wether a particular word is there or not. If you can get any of this then please let me know at [URL="kvermamanas@gmail.com"]kvermamanas@gmail.com[/URL] You may tell …

Member Avatar for vibhaJ
0
49
Member Avatar for genki01

I'm using this progress bar from [URL="http://www.dynamicdrive.com/dynamicindex11/xpprogressbar.htm"]http://www.dynamicdrive.com/dynamicindex11/xpprogressbar.htm[/URL] and I want to be able to display some text after the bar finishes loading. I figured out out to get it to output the text, but it loads in a new page. I want to get it to load where the bar …

Member Avatar for genki01
0
101
Member Avatar for shadiadiph

Hi sorry I am very new to AJAX and javascript probably a silly question but where can I put document.getElementById("loading").innerHTML='loading...'; in the following so it appears when it is loading and disappears when it is loaded? function getstate(){ var xmlHttp; try{ xmlHttp=new XMLHttpRequest();// Firefox, Opera 8.0+, Safari }catch (e){ try{ …

Member Avatar for shadiadiph
0
127
Member Avatar for Inny

Hello, Im trying to get my custom website screensaver to open in full window mode but I keep failing, I cant work out why? Do I need a new function in the code to do that? Please help if possible. Seen some odd codes in Javascript? :) [CODE] <script> <!-- …

Member Avatar for Inny
0
121
Member Avatar for feodal

I need to write a script that would fill in input field on some website, hit submit button which is a picture with java script function attached to it automatically and get result from a new page. It would all be need to be done automatically without user present. The …

Member Avatar for aladar04
0
67
Member Avatar for shadiadiph

Hi I have never really bothered with javascript before but i am having alot of problems with a ajax php form my php code returns [code] if ($states==false) { $result = 'nostates'; $result = trim($result); return $result; exit; } [/code] And my javascript alert returns nostates but always executes the …

Member Avatar for shadiadiph
0
111
Member Avatar for mahmoudali
Member Avatar for rch1231
0
58
Member Avatar for Tom Desuza

Pls. help me? i need some suggestion to solve my problem on runtime error of jawascript ' e.g. Invalid Character' i am unable to sort out and fix it. [url]http://oraiko-demo.com/ES/index.php?osCsid=b94c8de7c7654125f5c807906b39fc0a[/url] ,, after login problem being started pls help me for fix it. Thanks Tom Desuza <EMAIL SNIPPED>

Member Avatar for Taywin
0
987
Member Avatar for Kedora19

The problem is, I'm beginner with php and have no idea what the difference between ajax and json. So if someone could clear that up first, that would be great. Now on to the bigger problem I found this validation script on this website: [url]http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/[/url] I have it working succesfully …

Member Avatar for Kedora19
0
169
Member Avatar for Inny

my image veiwer has stopped working properly, I dont know why. It resizes as its meant to, but dosent pop the veiwer window. Can you find the problem? [CODE]<script type='text/javascript'> var popbackground="http://i14.photobucket.com/albums/a345/Instar/greenbgfade17oi.jpg"; //specify backcolor or background image for pop window var windowtitle="Image Viewer" ; //pop window title function detectexist(obj){ return …

Member Avatar for Inny
0
480
Member Avatar for elvis1

Hi guys I am willing to know how to match a website s title using regex. Many thanks in advance

Member Avatar for elvis1
0
89
Member Avatar for k2k

i wanna try to use ajax to async something from the mysql database.. i have read many tutorial/book/article recently and there are many things that I don't clearly understand. it looks like json is a good pick to do stuffs like loading things from a database. however, the examples i …

Member Avatar for scrappedcola
0
301
Member Avatar for skrout

//This is my html code [CODE]<INPUT TYPE=\"Button\" CLASS=\"Button\" onClick=\"delRow()\" VALUE=\"Delete Row\"> //this is javascript function for deleting a row function delRow() { var current = window.event.srcElement; //here we will delete the line while ( (current = current.parentElement) && current.tagName !="TR"); current.parentElement.removeChild(current); }[/CODE] Thanks, Sura

Member Avatar for fxm
0
783
Member Avatar for kracko

Hey. I am new to webprogramming..so sorry if this question sounds stupid:D I just wanted to make an animation but in firefox that animation just doesnt appear tho it works great in IE and opera. Do you have any idea what's wrong? I use the function setTimeout() and document.all[id].style...etc to …

Member Avatar for kracko
0
138
Member Avatar for kracko

[CODE]<input type="button" onclick="move()" value="go" /> <br /> <img src="btn16.gif" style="height:100px; width:100px; top:0px" id="img" /> <script> var k=0; function move(){ var t=document.getElementById("img").style.top; t=parseInt(t); t+=15; document.getElementById("img").style.top=t; if(k<10){ k++; setTimeout("move()",1); } } </script>[/CODE]

Member Avatar for kracko
0
114
Member Avatar for srdva59

hi, i looking for a dropdown menu something like this: [url]http://www.lwis.net/free-css-drop-down-menu/dropdown.ultimate.horizontal.html[/url] but without jquery javascript or complex javascript. the reason for mininum javascript if possible is that i use many javascript already for other operations like ajax etc and if i add jquery etc all functions simple don´t work :( …

Member Avatar for sam023
0
165
Member Avatar for CleverSunshine

Hello, this my first thread and I need some supper fast help I'm on a deadline... I have applied for a Microsoft program but part of the application process is to complete this assignment... You are to create a console application that accepts exactly one command-line argument. If it doesn’t …

Member Avatar for CleverSunshine
0
180
Member Avatar for msalvador

Thank you in advance for your help: I really don't know much about Javascript but I'm trying to use it on my web site. Here is the code: [CODE]function changeCategory() { //ID#1 document.getElementById('category_106634').setAttribute("class","mind") document.getElementById('category_106634').innerHTML="MIND" document.getElementById('category_106634').href="http://www.voyagetobetterment.com/_blog/Voyage_to_Betterment_Blog/tag/MIND/" //ID#2 document.getElementById('category_106446').setAttribute("class","movie") document.getElementById('category_106446').innerHTML="MOVIE" document.getElementById('category_106446').href="http://www.voyagetobetterment.com/_blog/Voyage_to_Betterment_Blog/tag/MOVIE/" }[/CODE] The program works fine if the ELEMENT#1 is above ELEMENT#2 …

Member Avatar for msalvador
0
169
Member Avatar for Inny

Ive accidently deleted something needed in the body I think for this code, but I cannot work out what it needs. I think the descarea div is missing? Can you help me rewriteit? [CODE]<div class='row4' style='position:absolute; background-color:yellow;border:1px solid #000000; padding:10px; display:none' id='miniTopic'></div> <script> function Request() { if (window.XMLHttpRequest ) { …

Member Avatar for Inny
0
109

The End.