15,121 Topics
| |
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 }); … | |
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.............. | |
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 … | |
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 … | |
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 … | |
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 … | |
How do I convert the [I]this[/I] object to an array. Please help me, many thanks. | |
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] … | |
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, … | |
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] | |
How to access a variable declared in one javascript in another javascript ? Please help me with the code. Thanks in advance. | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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. … | |
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... | |
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: '' } | |
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 … | |
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. … | |
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 … | |
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 … | |
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 ? | |
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 … | |
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) { … | |
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" … | |
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 :) | |
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 … | |
I would like to print a Web page with javascript method window.print() without pages number and footer. it's possible ? |
The End.