17,114 Topics
![]() | |
I have being trying to make a javascript code that will show different submenus depending on what was selected on the previous menu. Although my script has no bugs according to Internet Explorer it seems to not work in IE nor Crome. Can anybody see what's wrong with this code … | |
Below is my javascript code. It seems to hanging up at the "var data = transport.responseText.evalJSON();" part. Here is a link to see how my html is made. [URL="http://twisted.visionsminis.com/price/compressors"]http://twisted.visionsminis.com/price/compressors[/URL] [CODE] if (!window.WAUpdater) var WAUpdater = new Object(); WAUpdater.Methods = { options: { redirectOnError: true, baseUrl: "", updateColor:'#666666', mode:"add", removeRow:null }, … | |
My router is stupid, and needs to be rebooted a lot. I've simplified the process down to http:192.168.1.1/restart.htm as a shortcut on my desktop. Once open, there is a JS button with the onClick command RebootDevice() If I first load the restart page, then type RebootDevice(), it reboots. Can I … | |
Hi, I have a simple code which works well in I.E ,but it is not working in mozilla firefox 3.0..Why is it so. the code is as follows: [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ajax - PHP example</title> </head> … | |
Hey guys, i'm fairly new to ajax, and today discovered that javascript files won't fire within an ajax loader. my problem: i've built a web application using a mixture of javascript, ajax, and html. however this is designed to go on a page that already takes a little time to … | |
Hello everyone, i'm an IT student (first year) and i've received a task to make a website for my school (fictional ofcourse). Now i have an idea on how to make it,but after asking my teacher, he said i cant use iFrames but have to use AJAX instead. The code … | |
Hi, I have the follow script as part of a hover drop down menu : [code]<!-- var timeout = 500; var closetimer = 0; var ddmenuitem = 0; // open hidden layer function mopen(id) { // cancel close timer mcancelclosetime(); // close old layer if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; // get … | |
write the javascript code to hide a particular label in c# .net..can any one tel me? | |
Hi to all, I have the following problem: I have a page that includes an iframe, this iframe is dynamic (meaning that I don't know what will be its source, user can insert any URL). The problem is that are some URLs that take over all over the site, I … | |
Hi, I use onmouseover and out for <td> or <div> to change either backgroung image or color. However, onmouseover and out are not validated for HTML. w3scholls HTML validator doesn't validate them. How can i solve this problem? Thanks | |
Hi All, Some website said the we cannot run php function in javascript because php is on server side and javascript is on client side. My code will help us to run a php function when you type something on the textbox given below. [icode] <?php function myfunction(){ $x="I love … | |
The is a two part problem, part 1. I have a (primary) DIV tag that contains a FORM inside which I have among other things checkboxes - an unspecified number. Their name attribute is the same for all. Their value is set from a DB via VbScript. I have another … | |
Hello I'm building my own html parser in python, and have ran into some problems. First off, I'm using python 3, so I can't use the old bundled sgmlparser, or beautiful soup and could not find windows binaries for lxml, so I'm rolling my own. It is for my master … | |
I have attached an attachment which has drag and drop feature. The elements of rightmost column can be dropped to any of the white cells. My attachment also has NEXT button, when clicked generates next week day and dates. Now here I have added an alert option. When a name … | |
Hi! We have a project,to make a website in school, so one of the mandatory things is the registration form. so i can just copy from the example the teacher gave us and add some stuff, but i wanted to practice checking the form, and one of my "missions"(huh i … | |
i need to validate textbox to accept only integer and not more than 100 i create this fuction but i dont how to resrict numbers to be lesss than 100 only [code=JavaScript]<script type="text/javascript"> <!-- function checkNum(number) { if (isNaN(number.value) ) { alert(number.value + " is not a number. Please re-enter."); … | |
Hi I have a webpage, with hidden content divs. There are 7 sections and each is in one of these hidden content blocks. I have a script which sets the display = '' when the link is clicked javascript:showHide('div_id'), and thus the div is displayed. However, in IE, after I … | |
Hi I am new bee to JS and PHP, i have a code to display the images from directory in the path C:\wamp\www\prawin\new\locations\test\admin But this code didnt works . can any one help me. My code is [ICODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> … | |
Hi all, I am trying to run a javascript function, RH_ShowHelp, that is stored in the file RoboHelp_CSH.js. The function itself should open a popup window containing our product's help system (written with Adobe RoboHelp) and the javascript file was supplied by Adobe as the standard call. I have managed … | |
Hi I have careated a website with a floating (moving on body with javascript) DIV menu with Absolute position via CSS file. There are some Dropdown box on my body Now the problem is that when i the floating DIV move over the Drop Down menu, the menu will be … | |
hi there thank you for helping me before but i have new problem with javascript i need to disable the selection list wheb the checkboxes are unchecked and enable when they are checked this my code so far [code] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> … | |
I have <div> tag that is dynamically filled with check boxes and some text based on what the user picks from the page. For example, there is information in a tabular format and next to each is a check box. There can an unspecified number of them. User click the … | |
Two friends had a disagreement about the placement of the return in the following code: [code] var abc; try{ //there can possibly be 1 or more answers; abc = getAnAnswerFromPossibleAnswers("type","key"); } catch(ex){ ex.printStackTrace(); } //We only want the first answer even if there were more return abc[0]; [/code] One person … | |
I hate to come back so soon, since I was all proud of myself for working out the last issue. This is a different issue, and beyond the scope of my knowledge. The pagination itself WORKS FINE. However, I'm trying to use a tooltip script on an image hover, and … | |
Hi, I'm currently trying to implement expanding text to links. However, as the links are created dynamically I need to be able to make the DIVs Id-tag 'general' in the script. So, instead of this: [ICODE]function pageLoad() { collapseAll($('myvar_1','myvar_2','myvar_3)); } [/ICODE] I would like something like this: [ICODE]function pageLoad() { … | |
here's the link to the script: [URL="http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm"]http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm[/URL] I got the script working, but I can't manage to move the numbers from the top...to the bottom. I tried nearly every combination I can think of. Here's a screenshot of where the numbers are placed currently: [IMG]http://www.justinmarcusdesign.com/image.jpg[/IMG] [B][COLOR="Red"]Here's the HTML:[/COLOR][/B] [ICODE] <!DOCTYPE … | |
For validation purpose i want the page size property of the gridview from javascript. I am using .net 3.5 and ajax. Thank you in advance | |
System restore shows a blank page and sites needing javascript are saying it isnt enabled, although it is. I've looked at various previous posts regarding this topic and tried running various suggested programmes without success. Another suggestion was to download scripts from Microsoft which I have tried to do, but … | |
I was wondering if there was a way to make it so when the contents of a div went beyond a certain height it was put on another page or tab type thing. If you look at this webpage:[URL="http://www.ndoherty.com/demos/coda-slider/1.1.1/#4"]http://www.ndoherty.com/demos/coda-slider/1.1.1/#4[/URL] imagine that each new panel was made from overflowing content in … | |
Instead of a countdown and then redirect, I would like to countdown and unhide. I have used java before as a novice, but javascript looks like a relatively new beast for me. I found this counter and think it looks good, I guess it just resents the next smallest digit … | |
Hi, I got a form page with 3 radio buttons. Radio button ,say A,B,C. billing and shipping address is what the form page consists of . Onclikc of A the user selects hide shipping address. On click of b , copy billing to shipping address as well and on click … | |
Should this work to reload these two iframes? I'm having an issue where if I do an update to the actives iframe after doing an update to the message iframe, the actives frame does not update. Trying to figure out what is causing this. function updateWindow() {parent.window.frames['message'].location = 'http://mysite/people/message.aspx';parent.window.frames['actives'].location = … | |
This code adds & removes textboxes from the screen. In the remove function, it also renames any textboxes that come after the one deleted so that the numbering stays in order (i.e. 1,2,3,4 instead of 1,2,4,5,8) and updates the count parameter of the textbox's corresponding remove link so that the … | |
Hi, The examples in w3 page don't work. I do copy and paste and create exactly same database but nothing changes. It returns "Error on Page" error. [url]http://www.w3schools.com/php/php_ajax_database.asp[/url] [url]http://www.w3schools.com/php/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/php/php_ajax_livesearch.asp[/url] | |
hi i an designing a website and i just want that if a user open it on any resolution then it will fit it self to that resolution and no scroll bars will come like google,yahoo etc. i know it is possible but not know how so pls help me … | |
Hi Is there a function in javascript the same as PHP's exit() I have: [CODE]<script> ****EXIT OR EQUIVILENT IN JAVASCRIPT***** </script> <a id="java" style="color:#FFFFFF; ">Enable javascript to view my website</a>[/CODE] This tells me if javascript is on or off. | |
hi I'm using the following javascript code to generate an sql statement using field values. My problem is I want to encode the value of the field password using base64 encode [code] function changereadonly(field){ var sql = "UPDATE%20user%20SET%20" if(field['button'].value=='SAVE'){ for (i = 0; i < field.length; i++) { if ((field.elements[i].name … | |
Ok... First off. I am not talking about javascript tricks for your website. These scripts are just for fun. To make these codes work, all you have to do is copy and paste it into the address bar of your browser window and hit Enter (Yes the little bar in … | |
Hi I want to build a remote web-support application for my website, kind of like logmein type; 1.- Be able to use remote user's desktop upon request. 2.- It has to be an easy to get application for remote users, may be a java script or something. 3.- On the … | |
I am using the following to set up a textarea for the input of the body of an email. [ICODE] <textarea name="body" id = "body" ><?php echo $sig?></textarea> [/ICODE] the php inserts a "signature" into the textarea. When I tab to it, the cursor goes to the end of the … | |
Hi All, I am displaying an image from database using php .... the problem is that i want to give a row of colors beneath the image .... so that when a user clicks on one of the color .... the image should change accordingly ... in my case i … | |
Two related jQuery questions. Is there a way in JQuery to slide to a particular point such as slide 10px or slides to a DIV, the parameters passed in the functions are speed and callback. Second questions: I was hoping I could filter on a name with a jQuery option … | |
I am confused in choosing JavaScript Framework for my Project. I can choose any one of the following frameworks........ [COLOR="Red"][B]EXT JS[/B][/COLOR] [COLOR="Green"][B]EXT-GWT[/B][/COLOR] [COLOR="Red"][B]YUI[/B][/COLOR] [COLOR="Green"][B]jQuery[/B][/COLOR] [COLOR="Red"][B]dojo[/B][/COLOR] and many more....... I don't have any knowledge of any of above all. I am going to start from scratch. But which one to choose … | |
When you type [url]www.google.com,it[/url] will take you to [url]www.google.co.in[/url] or [url]www.google.co.uk[/url] based on your country.Similarly I want to do for my web site.Can anyone give me simple and easiest way to do this? | |
Hello, I have this script for an ajax slideshow. I made the functions and they are working perfect in Firefox, but in IE they are not working? could the error be when I call the functions, or might it be the functions themselves here are the functions [CODE] function isIE() … | |
Hello there am having a little problem i am trying to add some validations to this from i made the form using tables however its not being color coded and when submitted its not checking the appropriate validations? any body can spear to look at it please. [code=Javascript] <html> <head> … | |
Hi, Code below doesn't add new innerHTML into table cell. When it adds it should run other (slideOther.js) file but, doesn't work. Thanks [code] <html> <head> <script type="text/javascript"> function startSlide() { el=document.getElementById('productsBigCell'); el.innerHTML='<script>var slide1foldername="";</script><script src="slideOther.js" type="text/javascript"></script>'; } <script> </head> <body onLoad="startSlide();"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td id="productsBigCell" colspan="5"> </td> </tr> … | |
Hi I have an AJAX script which is used for a "live search" type function. When a user begins to type their search, after 3 characters, my AJAX script jumps into action and shows them a list of possible results. I has worked fine for months, and now suddenly I … | |
Background - this code adds & deletes file inputs from the screen as well as adds & deletes them from an array that will be used in the uploading process. I'm having trouble splicing the correct value from an array. In the remove function, I think it is always removing … | |
I have reinstalled serveral times for diffrent reasons, one of them being that javascript links all the sudden stopped working with no change in computer settings or software. Sence then, they have never worked, even after numerous reformats. I have the latest Firefox and IE, and the latest Java Enironment, … |
The End.