15,120 Topics

Member Avatar for
Member Avatar for suhaildawood

I am having some trouble with this code. I want have an onclick function on a div and I want to call this function. Only the 'if' section of the code works. If the #about opacity is anything other than 0.47, it still executes the 'if' code, but not the …

Member Avatar for suhaildawood
0
1K
Member Avatar for PomonaGrange

Hello all, I am looking for a bit of code to make an input field into a calculator. The main difference from most scripts is I want it with no buttons. I am hoping to use the number pad on the keyboard. So, for example, I would like an input …

Member Avatar for niranga
0
335
Member Avatar for divsok

why this code shows <b> tags? ---------------------------- <html > <head> <title>My Editor</title> <script type="text/javascript"> var displayText=""; function boldText(){ oForm = document.forms[0]; oTextarea = oForm.elements["txtArea"]; textarea_val = oTextarea.value; oTextarea.value = textarea_val.bold(); } </script> </head>

Member Avatar for divsok
0
316
Member Avatar for prashanth18

Hello All, I have this situation. 1. I have one Text box (say first) and add button. 2. If i click add, one text box should be added + one delete button. 3. if i click add again, second text box should be added + one delete button. and so …

Member Avatar for kunalkrishneel
0
6K
Member Avatar for jpknoob

Hi all, i seem to be having an issue with a calculate function i have made,. the script works fine in all browsers except Firefox! I was hoping someone could lend a hand and explain what I'm doing wrong. The JS: <code> <script type="text/javascript"> //Calculator formulae function multiply(){ Form.result.value = …

Member Avatar for jpknoob
0
267
Member Avatar for Xtremefaith

Trying to accomplish a simple test for a project I'm working on. [B]The Form[/B] [CODE=html] <form id="agreement_text_form" action="" method="POST" onsubmit="updateAgreementText(); return false"> <textarea name="agreement_text" id="agreement_text"></textarea> <input type="submit" value="Update Agreement Text" /> </form> [/CODE] The textarea has a WYSIWYG added to it (not needed but just in case here is that …

Member Avatar for Troy III
0
1K
Member Avatar for EddieC

Most of the reports out yesterday about the release of [URL=http://www.microsoft.com/ie8]Internet Explorer 8[/URL]Beta 2 focused on its so-calledInPrivate Browsing, which leaves no trace of the Web sites you visit and protects anonymity. And while that's certainly useful, developers are likely to be more interested in its improvements in DOM and …

Member Avatar for AleMonteiro
0
344
Member Avatar for sachinmaster

I have a slight situation in my app in my jsfiddle. What I want to do which I can't achieve is that I want the functionality of the Option Type, Number of Answers and Answer buttons within each row to match the functionality on top. The problem is that under …

Member Avatar for AleMonteiro
0
330
Member Avatar for rameshsawant

I have a dropdown present in a div and i am displaying that div in a floatbox on the click of a checkbox using javascript. My problem is that the value of the dropdown that i am selecting is stored in a hiddenfield before closing the floatbox. But when i …

Member Avatar for AleMonteiro
0
84
Member Avatar for Talonnnn

I need help with JavaScript enabled. My job so that I can automatically send button to be pushed faster. I use google chrome. For example; Automatically have form filling add-ons. (Autofill), but only to fill the send button will not print. How can I do this automatically? Button codes; <input …

Member Avatar for stbuchok
0
190
Member Avatar for eawade

Ok, this is my final tango with this. Below I've listed the code. I'm able to get the value of the url and display it on screen for the current (active tab) in Google Chrome. Now all I have to do is pass that value as a parameter in the …

Member Avatar for Troy III
0
306
Member Avatar for sachinmaster

What is happening is that when the user selects the option "True or False" in a particular row, a string is appering in two places where actually it is suppose to appear in one place. If you follow the steps in my fiddle then you will understand what is happening. …

Member Avatar for Fest3er
0
144
Member Avatar for Eelyn123

I want to update my database when i click the label in the infowindow. but i cant seems to update even when it shows that "You have donated" the value that i pass in is dynamic data which means that i have retrieve the value and pass it into the …

Member Avatar for pritaeas
0
145
Member Avatar for jamesofknight

Hey guys, We have a requirement for a one to one chat from one of our clients for a social media kind of project we are doing. The problem is that we need it in quick time so i would rather use an already made component that is out there. …

Member Avatar for sufyan2011
-1
508
Member Avatar for nizam27391

Hello ALL..Emmmmm..:-/ Simple Quest.. Is it possible to make the awesome homepage slider/the hover things of Adidas.com using Jquery or maybe Ajax? I'm really2 like it..

Member Avatar for Airshow
0
194
Member Avatar for theakshay

Hey, I need a 2-level drop down selection for the state-city selection where the code gets the values of these dropdowns from the mysql database(since i'm using php). After the selection of the state the code should display the cities belonging to that particular state. Could you please provide me …

Member Avatar for pritaeas
0
209
Member Avatar for rievan

Hello I have a question that is driving me crazy. I am trying to set a cookie after the page has loaded for 1 minute. Currently in my script I set it to activate the cookie after 12 seconds. but it doesn't seem to work. Please help me.. Thanks [CODE] …

Member Avatar for Airshow
0
236
Member Avatar for Dauthuzen

How do I add a different font type to each of the sting below in JS... [code]var conf={ rotors:[ ['Q','W','E','R','T','Y','U','I','O','P','A','S','D','F','G','H','J','K','L','Z','X','C','V','B','N','M'], ['P','O','I','U','Y','T','R','E','W','Q','L','K','J','H','G','F','D','S','A','M','N','B','V','C','X','Z'], ['Q','A','Z','W','S','X','E','D','C','R','F','V','T','G','B','Y','H','N','U','J','M','I','K','O','L','P'], ['P','L','O','K','M','I','J','N','U','H','B','Y','G','V','T','F','C','R','D','X','E','S','Z','W','A','Q'], ['Z','M','X','N','C','B','V','A','L','S','K','D','J','F','H','G','Q','P','W','O','E','I','R','U','T','Y'] ], reflector:[['P','L','O','K','M','I','J','N','U','H','B','Y','G'], ['V','T','F','C','R','D','X','E','S','Z','W','A','Q']] }[/code] I would like to change font for each seperate string

Member Avatar for Airshow
0
185
Member Avatar for Secret Agent

[url]http://www.virtuosonetsolutions.com/shop.php?cat=104&[/url] I am trying to make this an instant quote forum based on what I assign each item its price. Basically, say a person selects one item per field and it adds it calculates the total instantly including any setup fees. Then, I want them to have the ability to …

Member Avatar for fullyloaded1987
0
199
Member Avatar for jabeen123

[CODE]<SCRIPT language="javascript"> function abc(){ <?php $search1=mysql_query("select Lab_credit_hr from courses where Course_Number='$_GET[course]'"); if (mysql_num_rows($search1) == 0) { ?> document.fm.lab.disabled=true; <?php }?> </SCRIPT> [/CODE] i want to check mysql table row that if column "lab credit hour"= 0 then lab text field disabled help me this code? and this javascript function call …

Member Avatar for EvolutionFallen
0
384
Member Avatar for minghags

Hello can anyone help me with this problem: Im trying to do that this would bounce a image in the canvas area, but i manage to do that only with drawing. here is my current code that i manage to write, and thanks in advance: [CODE]<script type="text/javascript"> var context; var …

Member Avatar for minghags
0
1K
Member Avatar for kemkoi

Okay so here's my problem: I've made this navigationbar in Adobe Fireworks and I put in the code into my index file. Everything works, when I mouseover it changes color and when I click it changes color but now I want to make links to these buttons. So here's the …

Member Avatar for Troy III
0
107
Member Avatar for strRusty_gal

Hi Everyone, How to write a javascript method that can check the value that user key in? Example i create a textbox and user can only key in 0 - 50 to the textbox

Member Avatar for Troy III
0
3K
Member Avatar for gobogo90

I need to automate what a users does when clicking on <A HREF="whatever">. This will be used to refresh a page. Any ideas on how to do this? Thanks! Greg

Member Avatar for tmirell
0
226
Member Avatar for job78

Hello, I have this javascript function: [CODE]<script type="text/javascript">$(function() { YAHOO.MediaPlayer.addTracks(document.getElementById("ajazload"),1,false)});</scr*​ipt> <script type="text/javascript">[/CODE] This function is loaded inside the <div id="main">, which is loaded via Ajax. How can I prevent the javascript function to reload itself at every #main ajax page load ? I just want the javascript function loads at …

Member Avatar for job78
0
689
Member Avatar for minitauros

On my site there is a horizontal menu. When I hover over a menu button, which is a <div>, a <div> inside that <div> is shown with control options for that button (for example to edit the button text). This is done with Javascript (jQuery). It uses $.hover. So, when …

Member Avatar for Airshow
0
174
Member Avatar for rgudgeon

I have a masterpage and a default page in a project in VS2010. I am trying to import a javascript file. If I import the .js file the project compiles and loads but the whole browser screen is blank. If I comment out the javascript import line the page displays …

Member Avatar for rgudgeon
0
173
Member Avatar for minghags

Hello, I wanna do to do list to look like that: [IMG]http://uss.feri.uni-mb.si/images/Vaje/Vaja_7_jQuery/vaja1.PNG[/IMG] and i need to use jQuery selectors. I can't seem to get it to list a task and create a task. Can anyone please help? This is the code: [CODE]<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> …

Member Avatar for minghags
0
219
Member Avatar for paresh_thummar

Hi Friends, I want to pass Array or Object as parameter in function But can't, Here is my code Please help me, [CODE] var InfoArray = new Array(); for(i=0;i<5;i++) { InfoArray['name'] = "ABC"; InfoArray['id'] = "A123"; j = i+1; $('#selectorName').after("<input type='text' id='txt"+j+"+ "onFocus=prePopulate('txt"+j+"','"+InfoArray+"','Hello','Hi');>"); } [/CODE] And Function is : [CODE] …

Member Avatar for Troy III
0
144
Member Avatar for Virangya

hi, my $.post code returns a whole page i want to get only content inside a id from that . this is my code it alerts null. what's wrong with it..? [CODE] $(document).ready(function(){ var url_select_file = "index.php"; $.post(url_select_file, { component: "tinymce_details", action: "selecticondata" }, function(data){ //alert(data); alert($(data).find('#ContentPane').html()); } ); [/CODE]

Member Avatar for link_umer
0
1K

The End.