15,121 Topics

Member Avatar for
Member Avatar for Stefano Mtangoo

Hi all, I want to add some yellow background when focus turns to text input and remove it when it moves. Here is my code for JQuery [CODE=javascript] $(document).ready( function(){ //make form display yellow color when mouse is focused on item $("input").focus( function(){ $(this).css('background-color' : 'yellow'); } );//end focus }); …

Member Avatar for Stefano Mtangoo
0
138
Member Avatar for muralibobby2015

hello.... i want to do text fadein ,fade out using javascript onload page. actually i want to display text which is in database that text will appear in front end with fadein and fadeout effect. anybody plz help..............

Member Avatar for muralibobby2015
0
138
Member Avatar for uncamoe

I am building an app for a mortgage company. In the scenario portion(to figure mortgages with variable values) I have a series of textboxs using the onblur event. They simply take the values input to the form field and run math equations. I had them working and went on to …

0
85
Member Avatar for Reliable

Good Day, Is anyone familiar with Lightforms AJAX contact forms. I'm using one in a web page i am building. I also wanted to include watermark text with "onblur" and "onfocus" functionality in some of the text input fields, but I can't seem to mesh the two. Here is an …

0
42
Member Avatar for Eternity[LK]

Hello. I have a problem I can't figure out on my own. I want to create a JS/AJAX function which counts down for exactly 10 seconds (for example), and then it performs an action - calls a .php file, and loads its content in a div element. The main problem …

Member Avatar for ShawnCplus
0
67
Member Avatar for SunnySideUp

Hi, Could someone possible help me or point me in the right direction to ajax examples where I can build a signup form like they have got on twitter. I have managed to create a script that checks the username to see if that has been taken which works, but …

Member Avatar for network18
0
115
Member Avatar for Agent Cosmic

How do I convert the [I]this[/I] object to an array. Please help me, many thanks.

Member Avatar for Agent Cosmic
0
98
Member Avatar for qavo

Asynchronous data fetch from server is mainly reliable in my project which currently uses a "localhost" server. At times though the [inlinecode]XMLHttpRequest onreadystate event[/inlinecode] does not fire and I am suspecting this is due to javascript code still executing when the fetched data becomes available. Summary of process: [B]user click[/B] …

Member Avatar for ShawnCplus
0
87
Member Avatar for ytregnn

I try to find a scroller that is built in Ajax which makes it possible to scroll a part of a table/div (vertical). Ex: You have two text areas; "A" and "B", when you press "down" it smoothly shows another text area ("C") and "A" disappears and "B" replace it, …

Member Avatar for Graphix
0
86
Member Avatar for murugavel.b

If you want to restrict the user to go back or forward from the web browser, you can use the below mentioned javascript. Use this javascript in the script tag. It works on all browsers. For further details: [url]http://dotnetbypulikesi.blogspot.com[/url]

1
187
Member Avatar for maheshmohandas

How to access a variable declared in one javascript in another javascript ? Please help me with the code. Thanks in advance.

Member Avatar for harrierdh
0
140
Member Avatar for rouse

I am working on translating a website where instead of repotting the pages I just move the changed content into a <DIV> using jQuery “ajax_load”. The code is simple and of the form: [code] var loadCreditCardDonation = 'content/creditCardDonation.php'; $('#load_credit_card_donation').click(function(){ $('#rightContent').html(ajax_load).load(loadCreditCardDonation); }); [/code] I am now working on a page that …

Member Avatar for digitalgrauy
0
161
Member Avatar for mriain

Hi all, as a noob to javascript I am trying to find a way to add an extra piece of hidden text onto the end of the text a user enters into the form field so that when the form is sent the extra text will automatically be added to …

Member Avatar for Graphix
0
79
Member Avatar for ytregnn

Im trying to create a one mouse over effect that will show a background when the mouse is over an table column. Anyone that knows how this can be done? Thanks.

Member Avatar for ytregnn
0
96
Member Avatar for mr_scooby

Hello all, I have a php function that deletes the contents of a database table that relies on a javascript confirm box to tell it what to do as follows javascript function as follows [code] function deleteMasterList() { var outcome = confirm("Delete Master List, you will have to re-enter all …

Member Avatar for mr_scooby
0
148
Member Avatar for sandipan.rcciit

hi, I am creating a script where i have 4 combo box collecting the value from database. and i want if some one select the other option from the combo box the text box is enable. and all 4 combo box have an alternative text box and i want same …

Member Avatar for sandipan.rcciit
0
168
Member Avatar for Bar2aYunie

Hello, I am trying to build a combo menu that contains 5 drop down lists and when sombody selects an item from the first drop down menu, new options appear in the second one. People choose an option there, and more options appear in the third one, and so on. …

0
80
Member Avatar for sharao

Plz., how to put javascript validations in jsp page using JQUERY....ONE SAMPLE PRORGRAM and what is the difference between general javascript(regular exp) validations and jquery validations.. thanx & wish u happy new year...

0
53
Member Avatar for Agent Cosmic

How do I start my literal object as a function like you do when you use the new Object method. e.g. var fn = function(){ ...code...} var func = new fn(); I'm trying to achieve this using the literal object method like: var fn ={ key: '' }

Member Avatar for Agent Cosmic
0
69
Member Avatar for zeroge

Hi everyone I have the lightbox working properly on the site but actually want it to pop up/open automatically, say after 2 seconds after the page is loaded and without having to trigger it by klicking a href link. I noticed daniweb has exactly the same function here on this …

Member Avatar for JugglerDrummer
0
76
Member Avatar for ryan1987

hi i am creating a webpage with a menu down the left hand side. depending on which link in the menu you click a table on the right of will show the relavent information. the table will show the relavent information from a mysql table based on the link clicked. …

Member Avatar for ryan1987
0
76
Member Avatar for garyi1308

Hi I'm building a video site for the radio station I work for and need to display a specified video on each refresh. The video will be an embed from youtube and sit in a <div> of it's own. Unfortunately due to the servers I work on I can't user …

Member Avatar for Graphix
0
69
Member Avatar for realmayo

HEllo, Basically I am writing an interface in Adobe AIR with Javascript to talk to my server. I want to do it in HTTPS for security reasons. I generated my SSL certificate and everything. But every action I take to communicate with my server is met with a dialog to …

0
43
Member Avatar for chat2learn

helle everybody, I want to hide the url in the status bar. Once the url is surfed, I want to show a message not the url itself. I know that it should be done using Javascript but I don't how know. can anyone of you help me please ?

Member Avatar for p.loading1
0
92
Member Avatar for jmorhous

Greetings, On reflection I have decided I was unclear in my last post so I thought I should have another go at it. I have written an external script, located in validateform.js, that validates the information on a form. I have a second external script, date.js, that validated dates. I …

Member Avatar for almostbob
0
96
Member Avatar for jrw89

I have the following in "home.html": [CODE=html]<html> <head> <script type="text/javascript" src="sandbox.js"></script> </head> <body onload="compatibilityCheck();"> <div id="content"> <p>You need to enable JavaScript to use this site</p> </div> .....[/CODE] where "sandbox.js" is: [CODE=javascript]function compatibilityCheck() { var compatibilityCheck = new compatibilityCheck; compatibilityCheck.browser; compatibilityCheck.cookies; } var compatibilityCheck { browser : function() { switch(navigator.appName) { …

Member Avatar for jrw89
0
117
Member Avatar for shridharmaster

Hi friends, I have created the no.of div tags in my website applications. Now i want to change the class name of the tags. How should I? Below is some code which i want to change:- <test.aspx> [CODE] <tr> <td style="width:100%;"> <div class="roundedcornr_box_203203"> <div class="roundedcornr_top_203203"><div></div></div> <div class="roundedcornr_content_203203"> <iframe id="Graphframe" name="Graphframe" …

Member Avatar for GreenDay2001
0
113
Member Avatar for Phil++

Hey I'm trying to display this: [code] echo "<a href="javascript:createBBtag('[bold]','[/bold]','txtA')"><strong>B</strong></a>"; [/code] It gives errors though! Is there a way around it? Thanks :)

Member Avatar for goje87
0
26
Member Avatar for SJai

Hi i need the help of how to access the PHP files values from the External JavaScript. I have read we should keep Header("content-type: application/x-javascript"); this line in PHP. I have done everything, if any one can explain this with Example code and please explain how to use the value …

Member Avatar for FlashCreations
0
1K
Member Avatar for beppeilbuono

I would like to print a Web page with javascript method window.print() without pages number and footer. it's possible ?

Member Avatar for jokohu
0
208

The End.