14,053 Topics

Member Avatar for
Member Avatar for jaycastr

I am trying to pass two variable using javascript but i dont really know the syntax [CODE] if(entity==3){ var month = document.getElementById('mymonth').value; var program = document.getElementById('mylist').value: location.href = "view_results.php?month="+month; [/CODE] i only how to pass month but i cant figure out how to pass both month and program thanks in …

Member Avatar for Airshow
0
110
Member Avatar for jaycastr

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" …

Member Avatar for jaycastr
0
2K
Member Avatar for jaycastr

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 …

Member Avatar for jaycastr
0
146
Member Avatar for w33n

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 …

Member Avatar for pixelsoul
0
174
Member Avatar for qinglong

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(); …

Member Avatar for stbuchok
0
140
Member Avatar for hsmukunda

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 …

Member Avatar for stbuchok
0
141
Member Avatar for dourvas

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 …

Member Avatar for dourvas
0
173
Member Avatar for Chimunda

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 …

Member Avatar for twiss
0
195
Member Avatar for Ritesh_4

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 …

Member Avatar for Ritesh_4
0
77
Member Avatar for agrarian

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 …

Member Avatar for Airshow
0
160
Member Avatar for noamwegner

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 …

Member Avatar for almostbob
0
186
Member Avatar for bunnyboy

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 …

Member Avatar for migcosta
0
3K
Member Avatar for doctorphp

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 --> …

Member Avatar for Airshow
0
152
Member Avatar for ikunu

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 …

Member Avatar for stbuchok
0
168
Member Avatar for strRusty_gal

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?

Member Avatar for strRusty_gal
0
138
Member Avatar for madehoney

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 …

Member Avatar for piepie22
0
2K
Member Avatar for f_atencia

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 …

Member Avatar for urtrivedi
0
175
Member Avatar for rhand

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 …

Member Avatar for gibigbig
0
275
Member Avatar for seblake

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? …

Member Avatar for Airshow
0
118
Member Avatar for HelenLF

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

Member Avatar for stbuchok
0
88
Member Avatar for iamthwee

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.

Member Avatar for iamthwee
0
138
Member Avatar for Dean_Grobler

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 …

0
75
Member Avatar for newbie14

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 …

Member Avatar for newbie14
0
149
Member Avatar for newbie14

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 …

Member Avatar for newbie14
0
99
Member Avatar for Joe34

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 …

Member Avatar for ko ko
0
4K
Member Avatar for raghujosh

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> …

Member Avatar for Airshow
0
1K
Member Avatar for ivanichi

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 …

Member Avatar for ko ko
0
119
Member Avatar for web3

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 …

Member Avatar for web3
0
99
Member Avatar for bufospro

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 …

0
83
Member Avatar for munitjsr2

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 …

Member Avatar for munitjsr2
0
270

The End.