15,121 Topics

Member Avatar for
Member Avatar for Siberian

function check_alert (pcheck) { window.alert("You make $"+pcheck); } var paycheck = 1200; check_alert(paycheck); How can the function make an alert with the variable pcheck when the global variable is named paycheck, I'm confused ?

Member Avatar for Troy III
0
305
Member Avatar for sagisgirl

Hi, i would like to ask something, i have a table like this : ![c60f5fee223b1398d53631dda019f205](/attachments/large/4/c60f5fee223b1398d53631dda019f205.jpg "c60f5fee223b1398d53631dda019f205") The user will enter a value in the column "out Quantity", then, i want it auto calculate in "Total Price" which is Total Price = Old balance quantity * out quantity and new Balance …

Member Avatar for JorgeM
0
284
Member Avatar for general2012

i want to creat link using selected text.codes aren't working.how can i fix this? <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <style> #its{ border:1px solid black; } </style> </head> <body> <div id="its" contenteditable="true" > <p>It is a long established fact that a reader will be distracted by the readable …

Member Avatar for Troy III
0
157
Member Avatar for general2012

i am trying to learn how to make a text editor.here i creat a paragraph using "para" button.and inside the paragraph there will be a quote.Every time I press 'enter' within this paragraph, a new paragraph is created, rather than a line break tag (<br>). How can I force a …

Member Avatar for Troy III
0
325
Member Avatar for Damith_1

Hello, I have been able to drag and drop images from a toolbar to a html5 canvas. And now i need to connect two images/objects with a arrow. Basically the scenario should be, when you click on a dragged object, conncetiong points should appear and by dragging one point to …

0
111
Member Avatar for persianprez

I don't know why I cant find this anywhere online, it should be simple. I'm trying to GET event details based on the (given) event id. I'm looking for event title, description, image, etc... Does anybody know of a way to get these details with javascript? Facebook has posted this …

Member Avatar for Troy III
0
107
Member Avatar for vishnu05

Hello, I am creating a from with 13 rows and 11 columns. and I have a button "EDIT". The from should be disabled and if I clicked the edit button all the fields in the form should be enabled. As I am new to JavaScript It would be really great …

Member Avatar for Troy III
0
191
Member Avatar for james.lu.75491856

How would I use [web.py](http://www.webpy.org) to execute ASP/PHP server files? Or can web.py not do that and can someone provide me a python script that can execute ASP/PHP server files? Should I try posting this in the PHP forum, Web Design, html, and css fourm, or the Web development forum …

Member Avatar for cereal
0
369
Member Avatar for Evil_genius82

Hi all, I have a issue that I have been try to solve for a long time... **Background info** I have a form that when submitted, checks validation and also does an ajax request to see if user email exists. Validation is working, and email checking is also working. The …

Member Avatar for iamthwee
0
124
Member Avatar for kishore3055
Member Avatar for Stealthbird97

Hi, I realise I might be asking quite a lot here but I have no idea what I need to do in order to get this to work correctly. I have the following. http://jsfiddle.net/Stealthbird97/6k8es/ Just press the "a" key on your keyboard to see what it does. Now, I want …

Member Avatar for Stealthbird97
0
152
Member Avatar for oomotayo

Here is what i want to do, check the image attached, javascript to sum the values of text boxes in a row having individual total, i have this but not working function sum() { var txtFirstNumberValue = document.getElementsByName('ca_score[]').value; var txtSecondNumberValue = document.getElementsByName('score[]').value; if (txtFirstNumberValue == "") txtFirstNumberValue = 0; if …

Member Avatar for JorgeM
0
2K
Member Avatar for chozotheqhai

Suppose I had 3 divs, each div has at least one hide/show button. The problem is when I click a show button, both 3 divs will show ups. Example: <div id="container"> <div class="course"> <a href="#" class="clickshow"> Click me to Show</a> <div class="hidden"> Hello </div> </div> <div class="course"> <a href="#" class="clickshow"> …

Member Avatar for JorgeM
0
344
Member Avatar for khadija.cheeko

i want to change the colour of output text field when i check the check box. its working fine if instead of output i use inputext field but not working with out put text field. this is the code snipt of jsp page <af:panelFormLayout id="pfl3"> <af:selectBooleanCheckbox label="Noun " id="sbc1" selected="true"/> …

Member Avatar for JorgeM
0
643
Member Avatar for noobeyne

In the following function, the first debug output line ("debugPut"), produces what seems like a valid result: X: 427 Y: 197src=http://www.mygameslab.com/Switch/settingsScreen.png and even pasting the image link itself correctly displays the screen graphics. However, the screen never displays and the next debug text which was supposed to print "Kukuriiiiiiku" doesn't …

Member Avatar for noobeyne
0
429
Member Avatar for vtx.mg

hi everyone, i want a ajax code that submit form that has text data and some files. plz i want code nt the links to others plugins or smth else...

Member Avatar for jstfsklh211
0
134
Member Avatar for mattyd

Hello. I am having a bit of trouble with being able to submit/record the data from a selected dropdown field to my DB. Here is what I know so far: 1. Connection to DB is fine; All other data fields are submitted and recorded to DB 2. The dropdown (To …

Member Avatar for mattyd
0
247
Member Avatar for jkon

Some weeks ago I posted this and I realized from the referrals that it may help to be as a code snippet. This is an example of getting products details from categories – subcategories using ajax call. I am fond of OOP and this is not , but I believe …

Member Avatar for pritaeas
1
3K
Member Avatar for josverhoeff

Hi, I thought I'd share this with you. If you want all fields on a web form to be emptied of ther initial value (if any) on focus and filled again with the initial value on blur. Works with jquery.

Member Avatar for JJenZz
0
246
Member Avatar for johnef_sh

hi I using PHP/MySQL with Google Maps from here https://developers.google.com/maps/articles/phpsqlajax_v3 and then I used PHP's DOM functions to Output XML from here https://developers.google.com/maps/articles/phpsqlajax_v3#outputxml everything working fine with me but I need to center google map on the marker. here is the code that center the map and make the zoom …

Member Avatar for johnef_sh
0
9K
Member Avatar for Linddha

i have a script for replace char that i want for URI in php. But now i need these result but using Javascript. i've try to change using Javascript but cant run <?php function seo_title($s) { $c = array (' '); $d = array ('-','/','\',',','.','#',':',';',''','"','[',']','{','}',')','(','|','`','~','!','@','%','$','^','&','*','=','?','+'); $s = str_replace($d, '', $s); …

Member Avatar for Linddha
0
270
Member Avatar for trinisoljah

I want to turn this code into a jQuery function using jQuery.fn.prototype. In other words I want to make a function out of it, so that I can call it like so ('examDiv').prototype.('params'); http://jsfiddle.net/wJUHF/40/ the parameters in the prototype are to be used to select the divs in the html …

0
66
Member Avatar for Gandalfs_beard

Hello I was hoping someone would be kind enough to assist me with a major problem I'm having with firefox. I'm running a Mac OS X 10.5.8 platform from a Macbook Pro and was using a very old version of the web browser firefox - version 3.6.23 to be exact …

Member Avatar for Troy III
0
245
Member Avatar for XTMercenary

new to javascript so this is probably a stupid question. I have some code example below. what i'm trying to do is use the method i've created which takes a filterType and a filter and then filter by using those two varaibles. The problem i'm having is that I don't …

Member Avatar for Troy III
0
105
Member Avatar for notacop

I have this checkboxes HTML Code: <input type="checkbox" class="calc" name="access[a]" value="1" /> <input type="checkbox" class="calc" name="access[b]" value="2" /> <input type="checkbox" class="calc" name="access[c]" value="3" /> <input type="checkbox" class="calc" name="access[d]" value="4" /> I need the following thing, i will explain it in an example: Example: User selects third and fourth fields, 7(3+4) …

Member Avatar for diafol
0
150
Member Avatar for ndrdesign

Hello. I have a source code written in c++. With this source code i should compile it and make with him a pdf viwer that will be embeeded into a webpage. Can anyone help me what program should i use? how can i compile it and embeed the result into …

Member Avatar for rubberman
0
359
Member Avatar for ndrdesign

Hello. I have compiled a c++ program and i want it to be run into a webpage. I have tried the proc_open() command but it doesnt work. any help or suggestion?

Member Avatar for rubberman
0
329
Member Avatar for centenond

So , i want when ppl click on my picture open like a new window to show full size picture like facebook, im thinking this gotta be javascript .. How would i do this? Thanks :3

Member Avatar for centenond
0
175
Member Avatar for Sneha_2

hello, i had done lot of things with canvas like drawing different shapes on it,attaching note on it..now i have a little challenge for me where i have to imitate MS word's elbow connector to be drawn on my canvas..does anyone have ever tried doing something like this???If yes please …

0
99
Member Avatar for bilal.saim

I am using a radio player with <iframe> tag. I want to play it all page. But it musn't do postback this player. How can i do with Ajax, Javascript or JQuery ?

Member Avatar for bilal.saim
0
129

The End.