15,121 Topics

Member Avatar for
Member Avatar for imchivaa

Hi, I have a simple problem here but i have no idea how i can do it with javascript. I have a php script which will grab data from database from time to time (Server Sent Events) and i use ajax to display those data without refreshing the page. I …

Member Avatar for imchivaa
0
311
Member Avatar for gkumaravel

I am new to web development, now i want to learn javascript for web development and plugins development, please tell me good sites for learn javascript, "GOOD SITE MEANS REAL TIME EXAMPLES FOR EVERY LESSONS AND TUTORIALS"

Member Avatar for pritaeas
0
158
Member Avatar for marComm

Hi, I am trying to add a new set of filters to one large set of data on this page: http://vigstage.pearsonhighered.com/etextbooks/titles-available/index.html I modified code that I took from a different site- I am calling a data.js file that filters by discipline. I want to add a second set of filters …

Member Avatar for marComm
0
131
Member Avatar for giwrgos.mylwnas.3

I am breaking my head for last 2 weeks trying to create an app that will be iOS and Android using HTML5 and jQuery Mobile. I need my app to contact a server to get data. I was trying Ajax but it can not be done because of cross domain …

Member Avatar for mustafaneguib
0
194
Member Avatar for Indians

here i am store the dynamic row values into mysql. i am using jquery and javascript for dynamic rows and auto calculation and then stored to mysql using php coding. that works perfectly. i already added dynamic row value into mysql perfectly. But, now i want to edit the table …

Member Avatar for Indians
0
1K
Member Avatar for imperator

Hey. I am trying to make a small Google Adwords keyword planner tool which incorporates clicking the download button. ( http://i.imgur.com/M3Ksotz.png ) However, it's a bit difficult to figure out how can I programmatically click that button because it's not a usual <input> HTML button, but it's code looks like …

Member Avatar for greatiq
0
329
Member Avatar for jrosh

I have this ajax request. $.ajax({ type: 'Post', dataType: 'json', contentType: "application/json; charset=utf-8", url: 'https://********/***/*******.asmx/Login', data: "{ userID: '" + userName + "', pwd: '" + password + "' }", success: successCallBack, error: failureCallBack }); Problems is this works fine in older chrome browser. Eg. 20.XX.XX But it does not …

Member Avatar for lim.charmender
0
210
Member Avatar for renierdbruyn

I am new to Pyramid, Python, Jinja2 , jQuery AJAX, MongoDB and mongoengine. I was told to delvelop a system using these technologies. I am at a point where I do not know how to go futher. I have searched the web for answers, but found nothing that is helpful. …

0
112
Member Avatar for renierdbruyn

I am new to Pyramid, Python, Jinja2 , jQuery AJAX, MongoDB and mongoengine. I was told to delvelop a system using these technologies. I am at a point where I do not know how to go futher. I have searched the web for answers, but found nothing that is helpful. …

0
108
Member Avatar for AARTI SHRIVAS

<?php $con=mysqli_connect('localhost','root','password','swati'); $sql1="SELECT * FROM `country`"; ?> <html> <head> <script> function val() { var name=document.getElementById("name").value; var add=document.getElementById("add").value; var email=document.getElementById("email").value; var chk1=document.getElementById("c1").checked; //var chk2=document.getElementById("c").checked; //var chk3=document.getElementById("c3").checked; //var gen=document.getElementById("gender").checked; var gen1=document.getElementById("gender1").checked; if(name=="" || name==null) { alert("name can not be blank"); return false; } if(add=="" || add==null) { alert("address can not be blank"); …

Member Avatar for eyasin
0
240
Member Avatar for sasikrishnasamy

Hi, I have a hidden field and a text field called hdStrField, txtStrField . Now I assign the value for hdStrField field like this. document.forms[0]. hdStrField.value=’ txtStrField'; Now I want to change assigned hdStrField field value as read only. Give some suggestions for getting this functionality.

Member Avatar for stultuske
0
94
Member Avatar for Indians

edit.php coding... <?php $uid = (int)$_GET['id']; ?> <form action="update.php" name="myform" method="post" onsubmit="return(validateform());"> <input type="hidden" name="edited" value="<?=$uid;?>"> <?php $tariff_query = mysql_query("SELECT * FROM ebvouchertariffs WHERE VoucherID_Fk = $uid"); if(mysql_num_rows($tariff_query)>=1) { echo "<table width=960 align=center cellspacing=0 cellpadding=0> <tr> <td width=68 height=50 class=tabtext>SL.NO</td> <td width=106 class=tabtext>DATE</td> <td width=204 class=tabtext>PARTICULARS</td> <td width=117 class=tabtext>NO OF …

Member Avatar for Iikeloa
0
371
Member Avatar for sasikrishnasamy

Hi, I have a text field it should allow only Number, only one time 'Q' and 'C'. I created below mentioned code. <input type="text" name="vcno" onkeypress="return blockChars([^0-9-Qq-Cc])"> function blockChars(Chars){ var status = false; if(Chars.indexOf('\') != -1) status=true; varKeyCode = getKeyCode() ; if(KeyCode != undefined && isEmptyValue(Chars) ){ var g = …

Member Avatar for sasikrishnasamy
0
171
Member Avatar for pardeepkhatri

hello, i have to download this slider link given below www.ekle.it can any body help me to downlaod this slider???

Member Avatar for pritaeas
0
118
Member Avatar for venkyb47

I have 5 select tags in a page (user can select number max 10 only). I want to fill this select boxes with dynamic data. I wrote a function for this. This function called on a radio button clicked. Data send to a PHP page and return back result to …

Member Avatar for venkyb47
0
213
Member Avatar for Deep Modi

I want to add the button of my own look. I mean: i want to set the image on button and size of it... and alingn it on center with some effect more info: (image 1 = image) I am having 3images of text "Download" so when my cursor is …

Member Avatar for mildred2013
0
174
Member Avatar for amrita111

I have to validate a textbox having postal code.The postal code can be two formats as possible xxxxxxxxx or xxxxx-xxxx. My question is can I use two javascript regex for validating a textbox?

Member Avatar for amrita111
0
100
Member Avatar for arishy

First let me define what I mean by action box. Input box waiting for data, link waiting for click etc. Also I am assuming that the page is NOT using mouse over ( BAD assumption, so feel free to suggest something else) Why I need this ? you might ask …

0
124
Member Avatar for vijayakumarmp

Target is null or not an object how to fix ie browser. It works good in firefox. Please help how to fix the challenging script error.

Member Avatar for pritaeas
0
112
Member Avatar for mmcdonald

Hi all, I have a hidden division that is supposed to appear when the button, as shown below, is clicked by the user. The division is hidden on page load, and does actually appear when the button is clicked, but nothing happens on the first click. To clarify, you have …

Member Avatar for JorgeM
0
13K
Member Avatar for Indians

<?php include("config.php"); if (isset($_POST['submit_val'])) { $cmeal = mysql_real_escape_string($_POST['meal']); $meal = "INSERT INTO ebmealplans( MealPlanName, CreatedOn ) VALUES ( '{$cmeal}', NOW() )"; if(!mysql_query($meal, $link)) { die("Error : " .mysql_error()); } $croom = mysql_real_escape_string($_POST['room']); $ref_key = mysql_insert_id(); $room = "INSERT INTO ebroomtypes( RoomTypeName, CreatedOn ) VALUES ( '{$croom}', NOW() )"; if(!mysql_query($room, $link)) …

Member Avatar for diafol
0
8K
Member Avatar for Indians

index.php coding <td><input type="text" name="slno[]" value="" size="2"></td> <td><input type="text" size="10" name="date[]" id="SelectedDate" onClick="GetDate(this);" readonly="readonly"/></td> <td><input size="24" type="text" name="particulars[]" value="" placeholder="Description"></td> <td><select name="noofnights[]" value="0"> <option value="empty"></option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option …

Member Avatar for Lsmjudoka
0
6K
Member Avatar for azegurb

hi there, I have build one site about online appointments of pasients for dentist. i would like to create such a event scheduler like http://www.dhtmlx.com/docs/products/dhtmlxScheduler/sample_basic.shtml but additionally with copy and paste events. the original program is not web based. the working of that program is below. http://www.youtube.com/watch?v=ln_b4mB85Es&feature=youtu.be is it possible …

0
143
Member Avatar for nouth

Is there a way to make a [drop-down list](https://en.wikipedia.org/wiki/Drop-down_list) that lists all of the textfiles in the same folder as my webpage is in? I only want the textfiles because I have other filetypes in there but while typing this, it makes me wonder if I can read the webpages …

Member Avatar for pixelsoul
0
152
Member Avatar for nouth

I am using variables for my numbers. I require the smallest number and so I use `min()` to achieve that but if I have multiple values it will only take them in chronological order. var a = 98 ; var b = 82 ; var c = 61 ; var …

Member Avatar for nouth
0
136
Member Avatar for nadiam

hey guys, so im trying to auto calculate two textfields. like for example i have textfield A and textfield B and also a <span> tag. the span tag is default zero. when user inputs A as 5 the <span> tag becomes 5. then when user inputs B as 2, A …

Member Avatar for nadiam
0
12K
Member Avatar for swagato.datta

i want to create a comment box like this website for my forum can any one help me to solv tis code thnx..

Member Avatar for JorgeM
0
153
Member Avatar for Amoryethel

I'm trying to use sessionStorage to pass information from a merchandise page to shopping cart page, which displays what items were purchased, how many items were purchased, cost of item, cost of subtotal, cost of total before taxes, the tax amount and after taxes. It displays the monetary value of …

Member Avatar for ryantroop
0
256
Member Avatar for FranaticCode

Hi, I would like to know if there is a way to insert the content of an external .txt files into the <body> without coding long scripts etc. and which will also update automatically if the file has been changed.

Member Avatar for stbuchok
0
31
Member Avatar for bullet_1

I am very new to javascript I am creating a quiz form in which each question has four options. Ex: 1. What is your favourite sport ? A. Cricket B. Football C. Hockey D. Baseball When mouse over on options A, B, C, D bg color has to be appeared …

0
80

The End.