15,127 Topics

Member Avatar for
Member Avatar for azegurb

hi all, i have one question about variable in JavaScript [CODE]<HEAD> <TITLE>Window Opener and Closer</TITLE> <SCRIPT LANGUAGE="JavaScript"> var newWindow function makeNewWindow() { newWindow = window.open("","","HEIGHT=300,WIDTH=300") } function closeNewWindow() { if (newWindow) { newWindow.close() newWindow = null } } </SCRIPT> </HEAD> <BODY> <FORM> <INPUT TYPE="button" VALUE="Create New Window" onClick="makeNewWindow()"> <INPUT TYPE="button" …

Member Avatar for azegurb
0
116
Member Avatar for ksmadhuri

hi, i had done validation in my program...it is validating and entering the values also...the problem is if i m giving the same value which is in XML file...it is taking not showing any error...can any one check my code and suggest me the solution..2day evening is submission of my …

Member Avatar for fxm
0
79
Member Avatar for iThaos

Hi, I have pretty just started javascript and I have to say it is the hardest language to learn probably due to the lack of official documentation or something like that. If someone can point me in the right direction for documentation, that'll be great. On the other hand, php …

Member Avatar for iThaos
0
166
Member Avatar for chaituu

In the main table there are two sub tables are there.when user click addRow button main row and also subrow should be created.i have written the code but when i click addrow alignment is missing and apart from that mainrow and subrow is not displaying properly. [CODE] <html> <head> <script> …

Member Avatar for azegurb
0
108
Member Avatar for jt86442

[B] Hi, Actually my requirement is when i move my mouse on the link, One alert box shoulb be appear and it will count how many times i move on that link. I already written the code in javascript but it didn't reach to my requirement. Please go through the …

Member Avatar for rajarajan2017
0
2K
Member Avatar for s2xi

Hi guys, I have a table that outputs all my contacts via a while loop from my database. my syntax is like this: [CODE]SELECT * FROM contacts WHERE id = $_SESSION['user_id'] ORDER BY name ASC LIMIT 5[/CODE] that pulls out all my data and only gives me 5 results. Now …

Member Avatar for s2xi
0
576
Member Avatar for MDanz

Need help doing this. On a drop down list, on click of an option an input textfield appears. e.g. [CODE]echo "<select> <option>What is your opinion on</option> </select>"; echo "<div id='pop'><input type='hidden' id='opinion' size='20' name='opinion' value='Type Keyword Here' /></div>"; [/CODE] i want it to be hidden and then appear on click …

Member Avatar for PsychicTide
0
874
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
170
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
111
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
241
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
106
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
103
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
989
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
481
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
308

The End.