15,121 Topics
| |
theres nothgin wrong with my ajax, it works and is sending other variables but whe i want to send "pood" from [CODE]function farmers(pood, happy)[/CODE] i twill not work. now when i call the function it goes like this [CODE]onclick="farmers('pisslet', 'popcocky')"[/CODE] now it will not send PISSLET, what do i do? … | |
| |
hi want to learn javascript and i'm using ubuntu 9.04.i have google chrome and fire fox with enabled javascript. All things are good but when i write a js file and open it in browser but nothing happening html code loads but js not any hint why . | |
[code] <script language="Javascript"> window.onresize = function (){ alert("Thanks for resizing!"); } </script> [/code] Is there any reason this gets sent twice to IE? Is there anyway I can make it so it will wait until the user is done resizing before it sends it(IE problem)? | |
Hi all! i'm having difficulties with jQuery datepicker to get two input fields with different dateformats, her is my code sofar: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ multiSelect: 999, monthsToShow: 2, altField: '#datum', altFormat: '"yyyy-mm-dd"', minDate: '+1d', } ); }); </script>[/CODE] Now my problem is i'm showing my datepicker in a … | |
Hello, [LIST] [*]I want to protect my external javascript(and css also) from outside people, who steal my javascript. [/LIST] [LIST] [*]but this is impossible using client-side language. [/LIST] [LIST] [*]so can anyone tell me a method to [B]hide external javascript(and css) by using sever-side language???[/B] [/LIST] thank you | |
Hi there, I solve a problem with append the values into the value atribute of input. If I click on some html element, I need this text of element put into the input as its value. The problem is that I don't know, how to put several values into the … | |
Please some one help me to use facebook API. I want to integrate facebook API with my application(Java Application), so that I will able to fetch friend e-mail address and send them mail from my application with the help of facebook API. I go through the official API document of … | |
Hi, I'm getting trouble while implement the code of image rollovers. Please find the below code. [CODE] <a href="http://www.quackit.com/javascript/image_rollovers.cfm" onMouseOver="/pix/smile.gif" onMouseOut="/pix/nosmile.gif"> <img src="/pix/nosmile.gif" width="100" height="100" border="0" name="jack"> </a> [/CODE] My actual intention was image rollovers by using the onMouseover event handler to swap the first image with the second image. … | |
i have write a javascript code in dreamweaver mx 2004 : here is the screenshoot of my page : [IMG]http://i576.photobucket.com/albums/ss210/aripurwahyudi/albumin-correction-formula-view.jpg[/IMG] Summary for the picture is : input in : Body weight, actual albumin, target albumin, is a number : decimal and or absolute number i need this tabel work if … | |
that is in an iframe my script call from that iframe [CODE]var LOL = new swfobject(' http://example.com/wawa.swf ') LOL.addvariable( 'pass' , 'abcd' )[/CODE] how can i get abcd....pls help me thx | |
I created the following script, but it does not display the decription texts for each option. In the HTML every var shows the correct value: [CODE]$available_methods = $existing_user->getMemberCashoutMethods(); print '<form name="combowithtext">'; print '<select name="example" size="1" onChange="showtext()">'; foreach($available_methods as $method) { print '<option value="'.$method[name].'">'.$method[name].'</option>'; } print '</select>'; print '<input type="button" value="Go!"><br>'; … | |
Firstly I would like to thank all of the members of the forums, as I find their assistance invaluable and have helped me indirectly by providing answers to other peoples questions that were similar to my own, however I am currently stuck on the following issue. I know there are … | |
Hi I can't get my toggle button to work so once again I'm here hoping for some good soul to help me. Below is my jQuery code. I have 2 css clasess 1st is play with a referenace to jpg play and the 2nd one has reference to pause.jpg. All … | |
I've started with the samples included with prototype.js which has the following code in the fillin example (a portion of which I want to isolate into its own function). The original code looks like this ([COLOR="red"]red[/COLOR] is what I want to isolate):[CODE] function dofill( ) { new Ajax.Updater( 'result', 'getdata.php', … | |
Hi everyone, I want to make a page with a table. It has three TD's: 120px, fluid ([code=css]min-width:500; max-width:700px; /*This is for the fluid TD*/[/code]), 120px. How am I supposed to write the table? Would [code=html]<table width="100%"></table><!--or--><table width="all"></table>[/code] work? Or does anyone have an idea of how I should do … | |
I have a block of code from a prototype.js (ajax code) sample and I want to modify it in order to isolate a piece of the code to make it more maintainable: The original code looks like this ([COLOR="red"]red[/COLOR] is what I want to move):[CODE] function dofill( ) { new … | |
Ok so I am building a template using JavaScript/HTML and it includes radio buttons, textfields, and dropboxes. I am trying to have a user enter input and then when they submit, to have this information exported into an excel document. I do not know how to do this, or what … | |
Hello everyone, I am doing a login form in ExtJS + PHP, but it does not work. (authentication failed each time) . Here's the code: ExtJS part: [CODE] <script type=text/javascript> Ext.onReady(function() { Ext.QuickTips.init(); var loginForm = new Ext.FormPanel({ url: 'login.php', title: 'Login to goodTalk', frame:true, bodyStyle:'padding:5px 5px 0', width: 252, … | |
Hi There Want to find out if there are any way to let a user select a file from their local computer, and then return the path so that i can add it into a form field. I want to do a file upload, but want to skip the html … | |
Hi, Can someone help me with a javascript function that identifies <onmouseout> what radio button has been selected so that a message prints in a <div> further down the same page prior to submitting the page. e.g. If Radio Button value="train" is selected Print "You have chosen the image Train: … | |
hello friends... I'm new to jquery and as well as to daniweb :P I'm learning jquery from 3 days using online tutorials... I am given a task by my guide... For which i want to know why is it that the jquery carousel on the page [B][url]http://web.enavu.com/demos/3dcarouselwip/[/url][/B] works in firefox … | |
hello dear all, need some advice and help here.PLEASE HELP.. i use jsp page to input same value to mysql table. i have several tables inputed the same way(use jsp). Then, i show this table with jsp page (this is the same data i inputed to mysql tables).i named it … | |
Hello, Does anyone know how to submit forms from one page to another page? If you don' mind can someone explain how, or if they know a good tutorial, either of these would be great. Can this be done in javascript? Thanks | |
Hello, I'm trying to create a list of categories and have a link with "more categories" and when a user clicks on it, a div table pop up will show. So far I've hidden a div tag and had it show and close if a user clicks on the link. … | |
I am trying to Add rows to my table through DOM. I have two drop downs and one text field in one row. One drop down is populated from database and when the second drop down is populated through Ajax. As far as one row is concerned it is doing … | |
hi, I am a newbie in programming...recently i have developed a very simple (probably too simple!!!) javascript code that trims strings and shows animation....the code should be self explanatory....and i have included comments in the snippet so everyone understands what i did....any comments appreciated....just save the txt file as .html … | |
I have a Newsletter, with a "Forward to a Friend" link, this link is to a form that takes names and email addresses of 5 friends and has a Send Email button. How can I implement the Send Email part, as of now I just have the form. | |
Hi guys need some help here. I don't know why but it doesn't read the value. This is to be runned by Property. [CODE] function calculate_form_opap(op_id,oca_id,ocp_id) { var propertiesintotal=0; var total=0; var completo=''; var completo_count = op_id+'_'+oca_id; propertiesintotal = Number(document.getElementById('propertiesintotal_'+op_id+'_'+oca_id).value); propertiesintotal=propertiesintotal-1; for (y=0; y<=propertiesintotal; y++){ completo=op_id+'_'+oca_id+'_'+ocp_id+'_'+y; alert(completo); //valor = document.getElementById('property_total_'+completo).value; … | |
bHi all. I am, using Java for drop down menus, code follows. What I have not yet been able to figure out is how to make java display the page I select in a different frame. This is what is in the <HEAD> of one of my Pages. [CODE] <SCRIPT … |
The End.