15,688 Topics

Member Avatar for
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
125
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
153
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
345
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
445
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
271
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
107
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
154
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
176
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
131
Member Avatar for Jochen_1

Hello , i am making a website and have difficulties using Google Chart API. I am using a annotated timeline chart and it works. But i want to change the look of the chart and i am having difficulties with that . Mayby somebody here can help me ? Here …

0
164
Member Avatar for miyotz

I have here my Javascript code that adds dynamic textbox (row) my problem is how can I save the values from the dynamic textbox to database using PHP script? Hope you can help me guys.. Thanks! <script type="text/JavaScript"> function addRow(r){ var root = r.parentNode;//the root var allRows = root.getElementsByTagName('tr');//the rows' …

Member Avatar for diafol
0
1K
Member Avatar for wkwasniak

Hi. I just wonder, is it possible, to validateform , which has been "echoed" in PHP using JavaScript function? See code below <?php if(isset($_SESSION['email'])){ echo"You are looged in as ".$_SESSION['email']. "</br> "; echo' <form action="confirmlogout.php" id"logoutform" method="post"> <input type="submit"id="sub" name="sub" onclick="" value = "LOG OUT" /> </form></br>'; } else{ echo …

Member Avatar for wkwasniak
0
332
Member Avatar for crysys

Hello, how can i make this "Hscren.swf" clicable. Hscren is logo and i whant when you press click to make redirect in index like www.site.com. document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="712" height="172"> '); document.write('<param name="movie" value="images/template/style/flash/Hscreen.swf">'); document.write('<param name="quality" value="high">'); document.write('<param name="menu" value="false">'); document.write('<embed src="images/template/style/flash/Hscreen.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="712" height="172"></embed>'); document.write('</object>'); Thanks, I …

Member Avatar for gabrielcastillo
0
161
Member Avatar for jeffcogswell

As I spend time in the Daniweb forums, I see some questions that ultimately come down to the issue of manipulating JavaScript data and a user interface on a website. When you build a GUI that lets your user view, add, edit, and delete data, a common approach is to …

Member Avatar for jeffcogswell
6
575
Member Avatar for raminshahab

My issue is this: I call this method twice once inside a function and another in the HTML onclick. Reason is the DIV is part of a context menu. The first function call res is the correct variable I want. The second however changes res b/c Im forced to pass …

Member Avatar for raminshahab
0
102
Member Avatar for mattster

Hi All, I was wondering if there was a way using Javascript/JQuery to do something similar to the previews on the following sites: * [phpBB.com Styles Demo](https://www.phpbb.com/styles/demo/3.0/?from=submenu&sid=bb14d4e00f1932c986cce47c96a83dc3) * [Kriesi Theme Demos](http://www.kriesi.at/themedemo/?theme=enfold) * [DamojoThemes](http://themes.damojothemes.com/?theme=velocity_wp) Here we have a sort of select menu with an image preview, any ideas how to do …

Member Avatar for JorgeM
0
212
Member Avatar for noobeyne

Hi, I have this wierd situation: I am trying to animate 2 images going one past the other on the canvas. I have a function to calculate their new locations etc, and when it's time to play the animation in calls another function to render the new state of the …

0
108

The End.