15,121 Topics
| |
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 … | |
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? | |
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 … | |
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' … | |
I have a probelem - how to save information as a txt or js file and retrieve it later using only html or javascript . | |
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) … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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{ … | |
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> <!-- … | |
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 … | |
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 … | |
how can i execute SQL query from javascript ? or how can i execute javascript from SQL query? | |
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> | |
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 … | |
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 … | |
Hi guys I am willing to know how to match a website s title using regex. Many thanks in advance | |
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 … | |
//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 | |
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 … | |
[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] | |
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 :( … | |
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 … | |
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 … |
The End.