15,127 Topics

Member Avatar for
Member Avatar for Farhad.idrees

HI i have many forms in my application.. when some one see any form so i want to show form as "Only readable form" means i want to use disable form.. when someone click edit button so my form should enable for editing.. how to do it? can anyone help …

Member Avatar for code739
0
144
Member Avatar for arcana55

Hi! I have the following table: <table> <tr> <th>Cost</th> <th>Quantity</th> <th>Sum</th> </tr> <tr class="txtMult"> <td class="val1">1</td> <td><input class="val2" type="text" name="txt/>"</td> <td><span class="sum">0</span> </tr> <tr class="txtMult"> <td class="val1">2</td> <td><input class="val2" type="text" name="txt/>"</td> <td><span class="sum">0</span> </tr> </table> What i want to do is to multiple row by row cells: val1*val2. I found …

Member Avatar for Bachu
0
201
Member Avatar for amrita111

I have created two folders with name 1)JSP containing jsp file(for login) 2)JS containing javascript file(for login validation) I have linked javascript file with jsp file int he following way. <script type="text/javascript" src="../JS/loginValidate.js"> How can I access parameters of login page(jsp file in JSP folder) in javascript file?

Member Avatar for code739
0
104
Member Avatar for GraficRegret

here is the slideshow styles, <style> body {font-family:Arial, Helvetica, sans-serif; font-size:12px;} .fadein { position:relative; height:361px; width:640px; margin:0 auto; background: #000; padding: 0px; } .fadein img { position:absolute; left:0px; top:0px; } </style> here is the javascript <script type="text/javascript"> $(function(){ $('.fadein img:gt(0)').hide(); setInterval(function(){$('.fadein :first-child').fadeOut().next('img').fadeIn().end().appendTo('.fadein');}, 5000); }); </script> and here are the phps …

0
84
Member Avatar for Farhad.idrees

HI Guys... I have jquery list menu box of sliding.. i want o use scroll bar..i have imported requrired files but when i import jqxpanel file so nothing show.. when i block jqxpanel file so lisemenubox shows but without scrollbar..i have also enable true scroll bar but its not showing.. …

Member Avatar for Farhad.idrees
0
233
Member Avatar for mrhankey

hi, i have been struggling to find a good autocomplete script with mysql backend. i now have an easy to use one and all is working, however in my page after the search has been typed and user selected instead of the users name appearing in the search box i …

Member Avatar for mrhankey
0
130
Member Avatar for brianbabu

Hi, can someone explain me the entire working of jquery.filedrop.js? I have used the filedrop for a project but i am interested in knowing it fully in detail so that i could improve its functionality and modify the code according the reqiurements i get from my client. Thanks.

Member Avatar for Taywin
0
170
Member Avatar for darren.ang.5264

hi, i am a newbie to ajax. i have created 2 html file in the following :- <<< a.html >>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=big5" /> <title>Admin Page</title> <script> function loadURL(cDiv, cURL, cGetPost, cParam) { var xmlhttp; if (window.XMLHttpRequest) {// …

Member Avatar for Taywin
0
162
Member Avatar for garyjohnson

I have javascript code with displays the placeholder attributes on browsers which dont support HTML5, I am testing the code in IE. It works on every field which is type text. But when its type"password" it displays the placeholder as a password and not text. I need to it show …

Member Avatar for LastMitch
0
879
Member Avatar for Farhad.idrees

here is one form element. <input value="-7" class="validate[required,custom[integer],min[5]] text-input" type="text" name="min" id="min" /> here is one more problem.. i wanto use my javascript varible value in above class "validate[required,custom[integer],min[5]]" here like use dynamic number where 5 is using how to do it? Regards..

Member Avatar for Taywin
0
177
Member Avatar for Farhad.idrees

HI i have to compare three values but its not working.. alert box is not showing if i m putting less or greater values...i m calling this function on blur... function validate(value) { var minimum = document.getElementById('min').innerText; var maximum = document.getElementById('max').innerText; // alert(value); if( value < mimimum ) { alert('Value …

Member Avatar for AleMonteiro
0
119
Member Avatar for pln89

I need to use a kendo slider which is a compenent of kendo ui framework. This slider must display date ranges.I have to show data from database based on this range.How can I achieve this?

Member Avatar for stbuchok
0
188
Member Avatar for utchia

im trying to get the user to enter information into a textbox and then after clicking submit button the page has a table containing with that information in the rows. so for example the table has the heading Artist, Songs, Year made, Gene and the user has to enter data …

Member Avatar for AARTI SHRIVAS
0
274
Member Avatar for azegurb

hi All, I have question around Douglas Crockford "method" method. Function.prototype.method = function (name, func) { this.prototype[name] = func; return this; }; function azerizor(value) { this.value=value; } azerizor.method('toString', function () { return this.value; }); var me = new azerizor('salam').toString(); alert(me); this is it. But here arises question regarding **return this**? …

Member Avatar for azegurb
0
97
Member Avatar for techyworld

Hi i have a registration form .. somewhere in my form i have an image(registration is written) btw div tag: <div id="test"> <img src="..."/></div> <label>username:</label> ....... .... ... <div><label onclick=Onchange(1)>Login</label></div> Now i have an option :login" on this form if user has already registered. When click on "login" the image …

Member Avatar for diafol
0
132
Member Avatar for jonsan32

Does anyone know any good "Graduation Year" Calculator Scripts out there? I was thinking something somewhere along the lines of a simple dropdown box with grade levels, then a textbox to the right that would populate based on the current day/year. The tricky part would be to have the script …

Member Avatar for diafol
0
335
Member Avatar for neha05

<?php //session_start(); include("connection.php") ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Hedgeis-market</title> <link href="market css.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="jquery-ui.css"> <script src="jquery-1.8.3.js"></script> <script src="jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <!-- <link href="marnet_internal_css.css" rel="stylesheet" type="text/css" /> --> <script> $(function() { $( …

Member Avatar for McLaren
0
180
Member Avatar for McLaren

Hello, I am following this series http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/ and everything ws fine when was working with just javascrtript and html. But now I want to put it together with php fraework and I cannnot get it to work. It does not draw select box first of all. And does not draw …

Member Avatar for McLaren
0
249
Member Avatar for otengkwaku

<?php header('Content-Type: application/xml'); $tmpFile = 'tmpFile.txt'; $val = $_GET["http://rss.news.yahoo.com/rss/us.rss"]; echo ($val); $curlHandle = curl_init($val); $filePointer = fopen($tmpFile, "w"); curl_setopt($curlHandle, CURLOPT_FILE, $filePointer); curl_exec($curlHandle); curl_close($curlHandle); fclose($filePointer); $linesArr = file($tmpFile); foreach($linesArr as $eachLine){ echo($eachLine); } ?> I don't know why this code is not working. Can someone help me

Member Avatar for diafol
0
327
Member Avatar for ZzyzX

Hi all - new here and I have a question which is JS/AJAX related. I am knowledgeable in PHP and MYSQL/SQL, but have never taken the time to tackle Javascript and all of its intricacies, so here it goes... I have recently found a dynamic drop-down menu which is database-populated …

Member Avatar for ElenaGrig
0
961
Member Avatar for Julia25

Im currently customizing a softwared driven site which has a lot of limitation, i can add new properties on existing css class and thats it. I was ask to add a tooltip to a certain class but no success. is it still possible to add a tooltip in "buy" button …

Member Avatar for AleMonteiro
0
201
Member Avatar for techyworld

Hi want to create a grid 5 by 5 and fill it randomnly with number using javascript. Can someone help?

Member Avatar for Taywin
0
3K
Member Avatar for PriteshP23

JavaScript is not working: // HTML <form id="formLogin" name="formLogin" method="post" action="" onsubmit="validateForm(this) /"> <div class="divLogin"> <table> <tr> <td> Enter your Email: </td> <td> <input type="text" id="checkemail" name="txtEmail" required="required" autocomplete="off" /> </td> </tr> <tr> <td> Enter your Password: </td> <td> <input type="password" id="checkpwd" name="pwd" minlength="6" required="required" autocomplete="off" /> </td> </tr> </table> …

Member Avatar for PriteshP23
0
282
Member Avatar for Farhad.idrees

HI i have 4 gridview in one form...i have to check all text field if someone select main check box... my code is working only on one grid view..its not working on other grid view. what should i do? my code is <script type="text/javascript"> function checkAll(chkid) { var chk = …

Member Avatar for code739
0
273
Member Avatar for garyjohnson

This is my java code, all the id's are the ids of divs on the page. They are all labeled respectiviley. It takes the input of the form. There are six possble errors that can occur which are, the emails dont match. First name contains characters other than letters, last …

Member Avatar for garyjohnson
0
231
Member Avatar for riseguim

Hi there, this script here makes my pictures (put in div with ids "elem0", "elem1", "elem2", and on). The original script has been written so at the very last elem, it stops. I would like it to start again at elem 0, like a loop. I have tried for the …

Member Avatar for riseguim
0
106
Member Avatar for khiemkim.xuan

Hi I'm kind of a new to javascripting but I was wondering if you good web developers could give an example of an email suggestion box? And for the second question. Would JQuery be affecting the performance if I would implement it on SaaS applications ? For example if I …

Member Avatar for khiemkim.xuan
0
231
Member Avatar for khiemkim.xuan

Hi! I'm struggling a bit in a calendar task where I want to get an event element and use it but it seems that I get the error "ReferenceError: event is not defined" via firebug. If you look at the code where the input tag is, there is my problem, …

Member Avatar for khiemkim.xuan
0
151
Member Avatar for bouncerfloridaalr

I'm sure this has been asked before but can't seem to find it. I've a (mostly) php page which has a simple button on it to print. Printing is done with a simple onClick="print.window()". Everything's fine in that it's calling the print.css correctly and what is being printed is what …

Member Avatar for rsleventhal
0
3K
Member Avatar for s0wh4t

I have the following script: $(function () { var tabContainers = $('div.tabs > div'); tabContainers.hide().filter(':first').show(); $(window).bind('hashchange', function () { var hash = window.location.hash || '[b][b]#[/b][/b]first'; tabContainers.hide(); tabContainers.filter(hash).show(); $('div.tabs ul.tabNavigation a').removeClass('selected'); $('a[hash=' + hash + ']').addClass('selected'); }); $(window).trigger( "hashchange" ); }); <div class="tabs"> <ul class="tabNavigation"> <a href="#first" class="selected">First</a> <a href="#second" class="">Second</a> …

Member Avatar for diafol
0
383

The End.