15,127 Topics
| |
I want to echo the variable when I use test(); fuction. I meanwhen I use the variable with this function like test(john) , how to use it in that php snippet. Anyone knows ? [CODE]<script type="text/javascript"> function test(){ document.getElementById("php_code").innerHTML=" <?php echo "hello"; ?> "; } </script>[/CODE] | |
Hello,everybody.I want to write a program that change the color of blocks and text on each block in a web page by it.You know in a web page we have many blocks and each blocks we have texts and may be shapes.[B]So,I want to assign three(3) code to each block … | |
Greetings, all! I'm looking for a script (java or other) that would pull information daily and display it on an index page. Thanks in advance for your suggestions! | |
I have a client that wants a site for people who are potentailly being abused, often by partners they live with. He is under the impression that it is possible for there to be a "Button" that deletes the cache when the user presses it rather than going through the … | |
Hi guys, I have a form which has multiple drop-down menus using the standard <select> tags, but I can only get the results for the first drop-down menu. Does anyone know how I can expand the below code to support multiple variables using a querystring? Thanks, Julian [CODE]<!DOCTYPE html PUBLIC … | |
HI I HAVE ONE PROBLEM........ANY ONE CAN SOLVE IT .................... String s="void main() ' he is a \"good boy"; out.println("<input type=text value='"+s+"' name=s>"); IN THIS CODE , IN TEXT BOX THE VALUE AFTER ' IS NOT COMING , CAN ANYONE TELL HOW THE FULL STRING s CAN COME IN TEXT … | |
hi All, how to save image in folder using javascript in asp.net.? I want to save image in folder using onchange method. So can any body have code for that? Thanks. | |
Hey guys i have a little problem!! :confused: I am trying to prompt a JavaScript alert before the html headers and when this happens i does not style my footer from css. Heres my code: [CODE] if ($queryupdate) { echo "<script>alert('Your password has been updated!')</script>"; } else { echo "<script>alert('Your … | |
I'm having a little bit of a problem with JavaScript and a User Agent. I'm using a C# Application, and a WebBrowser Control with a custom user agent. Now I'm currently looking at different ways on how to show different methods for specific user agents. I've got a little script … | |
Hi all, I have a page that modifies (using AJAX) a list of animal characteristics stored in a database. The page uses a PHP file to control the actual access to the database. Everything works except when a duplicate entry is entered. The PHP file prevents the duplicate entry from … | |
Using appendTo() I've successfully gotten a text box to be added when I click an icon when I click an edit button. I'd love to be able to have the text in the text box pre-selected so that the user can just start typing without having to highlight everything to … | |
I want to check if in a email textbox form field, [B]email has correct syntax, but for Mobile Browsers[/B], in desktop I used below, this will work foe Mobile Devices too? or better check this on server side(PHP)...(check second snippet)? [CODE]function checkFormtemplate() // javascript used success desktop browsers { if … | |
How to use java script for navigation menu | |
Hello I want to make search box like google. when typing in the text box it will show search list. the list must be from mysql query search. How can I do that. | |
Hey everyone - the function discussed in this thread is at the bottom of this post. What this function does is countdown the value of an HTML table-cell to zero (minus 1 every second) then stop counting that specific cell when it's finished. This works perfectly, the problem is that … | |
Is there a way to display text from selecting checkboxes such that different combinations have different texts? | |
I need to open a popup window from a PHP site and pass in some parameters to use in the pop up window. I have the params in an input box and need to get the val of the box into a param and pass it to the new popup … | |
Hi all, I have a been developing an chat website using PHP,Mysql and flash. I have implemented everything. I don't know much about AJAX My requirement is to devise a way of updating (in real-time) the current userlist and on clicking on the button it pass one user to flash … | |
Hello I have [B]Ten div[/B] and [B]one textbox[/B] in a page. Every div contain single username.Now I want that after clicking on one div, the [B]textbox value[/B] will be the username in that div value contain. How can I do that. | |
i have a div tag named <div id="div1" runat="server"></div> i wrote a javascript which adds content like 0,1,2,3, in this div tag as its content. Now i want a script which will delete some of the content of div1. as like 0,2,3, how can i remove content from div tag. | |
i have an external hdd and it has self installed software that comes with a website. when i click on the site launcher it gives a js error. [CODE]function loadResourceFile(file) { var req = window.XMLHttpRequest ? new XMLHttpRequest() : (window.ActiveXObject ? ActiveXObject("Microsoft.XMLHTTP") : null ); if(req!=null) { req.open("GET",file,true); req.send(null); } … | |
So I'm having a heck of a time getting this to work- JavaScript isn't exactly my specialty and I realize that's a big part of the issue, but I'm at my wit's end... I'm developing a PHP application that deals with scheduling music lessons. In my application, I have these … | |
Hi, I've got a global navigation document with drop down menus created using javascript saved as includes. These are posted to a web server and the pages that reference the includes display the graphics and some of the links, but not the drop down menus. They don't appear on roll-over. … | |
Beginning a project developing a web browser for Mac OS X. Planning on offering a Universal Binary (for PPC and Intel support), 64-bit build, and using WebKit as the layout engine. Am looking for suggestions on featureset, as well as ideas for improving the JavaScriptCore framework and rendering engine. The … | |
Beginning a project developing a web browser for Mac OS X. Planning on offering a Universal Binary (for PPC and Intel support), 64-bit build, and using WebKit as the layout engine. Am looking for suggestions on featureset, as well as ideas for improving the JavaScriptCore framework and rendering engine. The … | |
| Alright here we go... I just purchased a Javascript/css based login form that works very similar to twitters login form. Here lies the problem. The way my website works is this...Theres a login link you click on that takes you to the login page. Because my site is set up … |
Does W3C, or anybody, have a way to validate JavaScript similar to the way you can validate HTML and CSS? I'm not talking form validation. I mean literally check to see if all of my JS is "grammatically" correct. | |
Hello, I understand how use the onblur event the following way [CODE]<input name="city" id="city" onblur="myfunction()" />[/CODE] But what if I don't want to insert javascript in html. I need to keep all javacript in a separate file. Can I execute my function without mixing html and javascript? Thanks in advance. | |
I am trying to get this form to add a distribution line on demand. However, when I click on the 'anotherdistribution' button, I know it is executing the code in moreFields, but it doesn't actually display the fields in the form in the node. Anyone see anything that I am … |
The End.