15,120 Topics
| |
Im stuck with this color changing aspect of my website, can you please help. I have a dropdown with 4 options. I want a specific element that corresponds to the dropdown box to change color according to the option selected. here is some code [CODE] <tr> <td>Application Architecture</td> <td><select name="cate1" … | |
I am using a dropdown box with 6 options. On change I want ajax to return part of an HTML/PHP page that corresponds to one of the 6 questions. I was trying to put and if statement on the return page to determine the part that I wanted but I … | |
Hey, I'm wondering if anybody knows a site with a good tutorial on how to create a slideshow with javascript. The type of slideshow I'm talking about is a popular type that companies are now using. Basically there are 4-6 buttons. When the landing page is static, the images just … | |
Hi all, I have found a code that work perfectly in all browser except IE..Due to my limited knowledge on ajax i couldn't solve the problem.. Hope u guys can help me out =) [CODE]<script language="javascript"> function createRequestObject() { var req; if(window.XMLHttpRequest){ // Firefox, Safari, Opera... req = new XMLHttpRequest(); … | |
Hi how to render a div next to href link, we are using JQuery. Below is code attached where when clicked the div gets rendered just below the tab of browsers, I want to render next to that of href link as there will be lot of href links in … | |
hallo there, i ve coded a script that the user can write a test. there is a form that he completes the answears and a button that posts those answears to another file which connects to a database checks if he is right and then shows the results. Now i … | |
I'm trying to reduce a large number of pdf files to text format. Acrobat has a batch processing feature that will convert the files, and also allows a JavaScript to be executed as part of the conversion process. I would like to add JavaScript code that allows me to replace … | |
Hello guys Am currently implementing a web form in html, and at first I was thinking to submit it to paypal for processing payments, however now my client wants to be able to use credit card and bank transfer (direct debit I suppose), How can I do this, or does … | |
I need to create 14 javascript Ajax objects and assign properties and events to them. Since most of the code is just being repeated, I'd like to do the whole thing in a loop using an array for the object names. This is a portion of the code as it … | |
I am trying to create a download link that will support all browsers here is the code [CODE]<a href="\\servername\blah\folder\myzip.zip > downlod zip </a>[/CODE] It works in IE but chrom doesn't react to it and firefox adds the current url to the begining of the path can anyone help thank you … | |
Hello! I'm having problem with getting the checkbox state of a selected row inside table. I don't know if there is any specific function to determinate which row is selected so I've thought of the following... when the row is selected, style(background color) is applied to the tr element, so … | |
| Hi everyone. I am having trouble with a jQuery comment system. Here is the code. [code] <?php $page = 'View Support Ticket'; include 'header.php'; $view_hash = clean($_GET['view_hash']); $ticket_query = sprintf("SELECT * FROM support WHERE view_hash='%s'", $view_hash); $ticket_query = mysql_query($ticket_query); $ticket = mysql_fetch_assoc($ticket_query); $ticket_num = mysql_num_rows($ticket_query); ?> <!-- start #page --> … |
Hi I was designing a website on blogger.com in which i added a JavaScript code for Live streaming into Media Player as give below... [CODE]<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" showstatusbar="true" enablecontextmenu="false" autostart="false" width="320" height="60" loop="false" src="[B][I]mms://216.185.43.237/radiocity 1[/I][/B]" /></embed>[/CODE] Now i want to change the link location as for this SRC part … | |
Hi, Anyone know how to pass value from 1 javascript to another javascript? I wanted to pass 1 of the variable in A.asp to B.asp variable. is it possible to do it? | |
Hi everyone Im new here and not very good with Javascript, so here im asking for a little help for my proyect the problem is Im trying to calculate text fields from results of php query my fields come from the query as amount1, amount2.... what i need is for … | |
Hi all, I have an input box that should only contain decimal point numbers (including negative values), but I'm not sure how to remove invalid characters and replace it with something that is valid (i.e. the value e3.45 should be replaced with 3.45). If all the characters in the textbox … | |
I am working on a local server on adding a media uploadbox to a Wordpress plugin Datafeedr Randam adds for a few days now and the code I have come up with so far is here [url]http://wordpress.pastebin.com/xF0xs9mL[/url] . Code added to load needed scripts starts at line 101 and media … | |
Greetings! I'll plead ignorance...that's easy. :-/ This is from: [url]http://www.w3schools.com/js/js_functions.asp[/url] [code] function product(a,b) { return a*b; } [/code] Without assigning a variable to the function, how does the correct value get returned? Or even interpreted? [pseudocode] a*b=c return c [/pseudocode] 2nd Q: Is this "undeclared (unseen) variable" local or global? … | |
Does anyone know if JQuery can be used to produce a slideshow like the one here... [URL="http://www.scottishweddingphotographer.com"]www.scottishweddingphotographer.com[/URL] Or is there a ready made script out there that does it already. Basically I need a row of thumbnails which when clicked reveal a scrolling slideshow. Thanks in advance | |
| Hi I am trying to customize the superfish (jquery) menu. Does anyone have experience working with this? [url]http://users.tpg.com.au/j_birch/plugins/superfish/[/url] Cheers. |
Hi guys, I've recently started with the [URL="http://www.sencha.com/products/touch/"]Sencha Touch API[/URL], or should i say, [B]tried[/B], as the syntax is crazy and takes some getting used to. Anyways, I'm just struggling with basic layouts in my page. Don't want to go into too much detail if no-one here has ever worked … | |
Dear All, I have form where I add dynamic html element as below. In the php code via ajax I have built the full drop down list. So when I post the form in IE when I do like this $masterID=$_POST['masterID']; I am able to capture the form value. But … | |
Dear All, I have a drop down list. Based on the selection I will create more drop down list depending on the selection of the first drop down list. Example if first I select the value as 3 then three drop down list will be created below. Thus now my … | |
I keep getting undefined with this script... I [CODE]document.getElementById(new_id).style.top = Top; //Works Fine document.getElementById(new_id).style.left = Left; //Works Fine document.getElementById(new_id).style.backgroundColor = Background_Color; //Works Fine document.getElementById(new_id).style.border = Border_Width+" "+Border_Type+" "+Border_Color; //Works Fine new_code = document.getElementById(new_id); //Doesn't Work!!!! document.write(new_code.value);[/CODE] I style the element correctly, but when I want to write it I keep … | |
I am trying to do some simple form validation in a JSP. But the javascript just does not work....as if its just not there. Dont know what is amiss. Here is my code [CODE] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> … | |
I create a form wizard (previous and next) and want to use a validation, I have multiple id to be applied on the form as an id. this is javascript for form wizard [CODE]<script type="text/javascript"> var myform=new formtowizard({ formid: '[COLOR="red"]fslide[/COLOR]', persistsection: true, revealfx: ['slide', 500] }) </script>[/CODE] and this is … | |
I have a problem with my for loop. This is the code: [CODE] for(i = 1; i <= 30; i++){ var opacity = $("#h"+i).css("opacity"); if(opacity < 1){ $("#h"+i).click(function() { $("#h"+i).css({ opacity: 1 }); }); } }[/CODE] When I put a number like [CODE]$("#h1")[/CODE] instead of [CODE]$("#h"+i)[/CODE] It works but only … | |
Hi all, I am trying to install jcart shopping cart but I have some problems when I am trying to modify it. [URL="http://conceptlogic.com/jcart/"]jcart[/URL] I would like to have a button "save in database" instead of having button "checkout with paypal". And when I click in new button to open a … | |
I have been looking for this for very long but still can't figure it out. I want a script to login to website without even typing the username and password while logging in.Its very annoying when you have to type the passwords to to login to multiple sites each time … | |
This function executes the first time correctly, but the next time the function returns an error. [CODE]function edit_div(id) { if(edit_status == 0) { document.getElementById("addnew").innerHTML = '<form><h5>Move</h5>Top Margin: <input type="text" id="topmargin"></br>Left Margin: <input type="text" id="leftmargin"></br><h5>Backgorund</h5>Background Color: <input type="text" id="backgroundcolor"></br><h5>Border</h5>Border Width: <input type="text" id="borderwidth"></br>Border Type: <input type="text" id="bordertype"></br>Border Color: <input type="text" id="bordercolor"></br><input … |
The End.