15,127 Topics
| |
Hey all, I am trying to write my first Ajax script.....I downloaded a demo and basically tried copying it and it did not work. My PHP scripts that are tied to it work, however on the form, my onclick="getName();" or onChange="getName();" does not work. onkeyup="doWork();" works just fine. can someone … | |
I want to redirect a certain URL to another URL. For example, I wan to re-direct everyone who comes to URL1 to URL2 and Everyone from URL2 will remain at URL2. Is this possible? | |
[url]http://www.proloanmods.com/testimonials.php[/url] The testimonials.jpg graphic on this page appears fine in Firefox. But in IE it gets chopped off. I'm not sure why only on this page as I use the same template for every page more or less. Does anyone have any ideas why? Also, I've tried resaving and reuploading … | |
Hello, How do I post a new value with a form to PHP? I have a table of data and when I click one of the <td>-cells it switches to a text input area where I can type the new value and then update that row. Everything works just fine … | |
Hello all! I was working using php code and then realized that I wanted to add multiple combo boxes so I found an already written javascript code and decided to use that. However, I am using sessions and want to collect the data from what they chose to follow thru … | |
Hello, I have a little problem that kept me busy for quite a while so I search for help here, maybe someone sees 'the bug'. I use JW FLV player to play *.flv movies from my website. I use a XML playlist for that. It's just the movies don't start … | |
i'm having an input text field in the form . half of its value should entered by user and half should b auto incremented... how can I do this using javascript... I highly appreciate ur cooperation...ThankU | |
I can consider myself a coder now that I’m almost done with school but where can I find a job? How and when does a coder usually start working? Please help!! | |
i am trying to submit three forms with the one button using javascript. here is my code [CODE]<script type="text/JavaScript"> function submitForms(){ document.dropdown.submit(); document.radio.submit(); document.form.submit(); } function textLimit(field, maxlen) { if (field.value.length > maxlen + 1) alert('your input has been truncated!'); if (field.value.length > maxlen) field.value = field.value.substring(0, maxlen); } </script> … | |
I have two select tags. When I select the first value in the first tag the corresponding values in the second tag should appear. How would I do this? I am using php to select which values appear on loading. Thankyou, Regards X | |
hi, im enim and its my first time to post here in javascript because im into php. my question is: 1.) Is it possible to have two checkbox in a row (with different value), the one is hidden and if i check the the visible checkbox, the other one will … | |
Hello! I'm new to Ajax (coming from PHP world), and I've been able to find plenty of examples of Ajax being used to display data from XML on a web page, but I haven't found many examples of Ajax being used to update/edit the content or structure of an XML … | |
hi i wrote a simple ajax script its working and i don`t know why can any one here can help me? when we place a mouse on a link then it shows that page this is my basicajax.php page [code]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>ajax</title> <link rev="stylesheet" rel="stylesheet" … | |
There are a few, so-called, conversion softwares and I need a good one for rich Internet applications and rich application interface such as Ajax, JavaScript, XML and DXML. | |
Hi [code] function winSwap(winLink) { alert('function called'); var newWin = winLink; if(window.opener && !window.opener.closed){ window.opener.location = winLink; window.opener.focus(); alert(winLink); } else { window.open(winLink, 'newWinName'); alert('new window called'); } } [/code] Alright this code works fine everywhere but IE6, like everything else. Anyway the site opens a target blank window and … | |
How can I Introduce Javascript(?) while running xslt on xml file? I am trying to process 1 single xml file; Inside that xml file there is a <image> tag; tag not contains any information about width; I am aplying xslt on this xml. how can i calculate the width.. My … | |
Hi,<br> i went to [U][url]http://www.javascriptkit.com/[/url][/U], i copy the HTML at this website [U][I][url]http://www.javascriptkit.com/script/script2/formfieldhints.shtml[/url][/I][/U] i put the codes at my blog. [i edited the codes.But i only edited those main title]<br> But the problem is how do i make the Form Validation to auto send to my email address, with a … | |
Hi, I want to set a function that will count how long a button is held down for however when the button is released I need to run another function that will pass the length of time and a variable passed by the button on to a script usin AJAX. … | |
Hey guys , While playing with jquery i've come across the following situation : [code] $(document).ready(function(){ $("div")[0].css("background-color","blue"); }); [/code] I get an error everytime i try to call any method on a particular element from the wrapper set . I tried with the get() [code] $("div").get(0); [/code] Same stuff . … | |
Is it possible to response .write to a div or iframe so that my page doesn't get written over? here is the code: [code=javascript] <form name="list" action=""> <select name="listGen" onchange="xmlConnect()" size="1"> <option value="0">please choose</option> <option value="1">sales</option> <option value="2">IT</option> <option value="3">Human Resources</option> <option value="4">Front Office</option> </select> </form> <script type="text/javascript"> function xmlConnect() … | |
I'm using joomla and sobi2, I don't like the layout and want to create a way for the site visitor to choose a category from the home page which should look like this. [URL="http://www.bidmyneeds.com/index.php?option=com_sobi2&Itemid=28"]http://www.bidmyneeds.com/index.php?option=com_sobi2&Itemid=28[/URL] Then I want them taken to this page. [URL="http://www.bidmyneeds.com/index.php?option=com_sobi2&sobi2Task=search&Itemid=28"]http://www.bidmyneeds.com/index.php?option=com_sobi2&sobi2Task=search&Itemid=28[/URL] Where the select catagory would be already … | |
There's a thread from a few years back that talks about creating a random image with link, random text piece of javascript...the code of which can be seen below. The problem is that the images do not coincide with the text. So an image will show...and the links on the … | |
| I'm looking to replace an auto-updating iFrame with some cooler, and more accurate ajax code. And first off I'll say that I believe ajax is the right way to approach this, but I'm open to suggestions, too. I'm not really much of a javascript/ajax programmer, hence I'm hoping for a … |
hello there i have some problem with rgb. i am writing a color selector , 3 sliders demonstrate 3 color , red and green and blue , then the mix color appears in a div named '[COLOR="Green"]result[/COLOR]' in the end of page. consider i have 3 variables which indicates 3 … | |
My website validates as XHTML Strict and I want to keep it that way. Therefore, I have always used JavaScript Ads instead of iFrame Ads because the iFrame tag is not supported by XHTML Strict. I've noticed the JavaScript Ads have been slowing down my site - so I'd like … | |
hi all i found a javascript function in dhtml goodies which is a tooltip, there in tooltip he gave a text inside tooltip if i simply replace image in plade of text i works fine like this [code]</script> <SCRIPT type="text/javascript"> var dhtmlgoodies_tooltip = false; var dhtmlgoodies_tooltipShadow = false; var dhtmlgoodies_shadowSize … | |
Give me some ideas about Web Services that I can do it for my final year project... Something like Semantic Web, e-learning????? | |
Please somebody help me out and explain the difference between: [CODE=JAVASCRIPT] for(var i in temp){ this["get" + i] = function(){return i;} } [/CODE] and [CODE=JAVASCRIPT] for(var i in temp){ (function(){ this["get" + i] = function(){return i;} })(); } [/CODE] Thanks in adv | |
Hi- I need some help getting a delay on a java script menu, the delay needs to occur when the user mouses out of the menu, I have had a little success but the the menus dont dissapear when mousing down to the next menu item (the delay is also … | |
Hello People, I need to create a widget using Javascript and without using any 'Javasctipt Frameworks' or another widget developing platform. So, my approach is like this, creating a dynamic iframe and linking the source for the iframe to the content that need to be displayed. I need that iframe … |
The End.