15,117 Topics

Member Avatar for
Member Avatar for jovstudios

$(document).ready(function(){ $("button").click( function() { $("#form_gen").append('<p><table class="bar form_evalution"><tr><td>Field</td><td><input type="text" class="form-control" name="input_label" placeholder="Input Label"></td><td><select name="input_type" class="form-control"><option value="text">Text</option><option value="radio">Radio Button</option><option value="checkbox">Check Box</option><option value="password">Password</option><option value="textarea">Textarea</option><option value="submit">Submit</option></select></td><td><input type="text" class="form-control" name="input_name" placeholder="Text input"></td><td><input type="text" class="form-control" name="input_tbl" placeholder="Input Database Column"></td><td><a href="#">Remove</a></td></tr></table></p>'); }); $("a").click(function(){ $("p").remove(); }); });

Member Avatar for Airshow
0
74
Member Avatar for JivanAmara

Hi all, I usually work on website back-ends and I'm not an expert in js, but circumstances are pushing me to understand it better. I have to make updates to a web page and I found the following code: html: <a href='javascript:void(0)' id='extra'></a> js: $("#extra").on('click',function(){ ... }) css: #extra { …

Member Avatar for JorgeM
0
128
Member Avatar for begueradj

Hello Since Ajax is a client side technology, why can not we see its source code by CTRL+U ? Regards

Member Avatar for JivanAmara
1
164
Member Avatar for mohan@nano

i have a text box in that i'll enter a value . The value should generate the tree structure using javascript .is there any pulgins for the above . please suggest me

Member Avatar for mohan@nano
0
69
Member Avatar for ashab27

hi , this is asha bhatt. i have one radiobuttonlist and checkboxlist and i want to do the validation for these in asp.net ,the validation part i know that plz see my code [code] protected void SubmitButton_Click(object sender, EventArgs e) { bool flage = false; bool valid = false; try …

Member Avatar for rajesh0223
0
337
Member Avatar for NitsPatel

Hello, when i click on option of dropdown box they could not select any option. Its working good in all other browsers.option coming through ajax. I have a problem in dropdown select option in IE11. see attached screenshot .Please help me someone to solve my problem. Thanks & Regards Nits

0
129
Member Avatar for chris.immanuel

Hi Folks, I need help with my Project. I need to pull a value from the populated dropdown list using an ORACLE DB. When I pulled that value, I need to fill the quantity with the corresponding quantity value and show it to the user. And I also need to …

Member Avatar for Zoii
0
243
Member Avatar for extjac

Hello, I am trying to populate the state drop-down based on the country selection. I creates this jQuery scrip that WORKS in firefox, chrome and mobile but for some reason does not work in IE8 (dont have IE7 or IE9 to test). What am i missing? //update states/province drwon down …

0
71
Member Avatar for kyle.santelices.31

if(document.form1.captcha.value != <?php echo json_encode($code) ?>){ alert("qq. \n"); return false; } whats wrong with my code? syntax error

Member Avatar for jstfsklh211
0
101
Member Avatar for VNexus

Hi Everyone, Thank you ahead of time for taking a look... Basically, the tables, rows, name and id tags below shown are pulled through by using PHP/cURL (code not shown for sake of realty). Generally, what I am looking to accomplish, is to use JavaScript to loop and parse through …

Member Avatar for VNexus
0
325
Member Avatar for Hanan_1

Hello everyone, I use the example from [Google](https://developers.google.com/maps/articles/phpsqlajax_v3) Now, I would like to know how to change center location from city to another city like this map in [example](http://http://www.enasher.com/billboards) please can you help me to know how becouse im new in google map and i have anthore question in my …

Member Avatar for Ajay Gokhale
0
379
Member Avatar for Iikeloa

Hi I need to put google maps inside my website so that the user can add his location (manually) Then the location will be stored in the database so I can brows it in the display page.I've looking over the web but couldn't find the way to do it :( …

Member Avatar for Ajay Gokhale
0
265
Member Avatar for binaryjc

I want to make a Maze Game that that a learning AI player which should randomly moves and be able to learn the path that will solve the maze. the maze will have obstacles, colored in RED. when the AI reaches an obstacle, it will start again from the beginning …

Member Avatar for renoldscott
0
613
Member Avatar for gcarterm_1

REALLY basic stuff here. Pretty new to jQuery. I'm trying to add two values (these happen to be the total height of two sidebars. I use alert for each and receive the correct height. But, when I try to add these together, I get the [object Object] return. To make …

Member Avatar for gcarterm_1
0
312
Member Avatar for Siberian

The follow code isn't working, I'll probably have to supply more info :) var headline = document.getElementById('header'); var headlineParent = headline.parentNode; var outputResults = document.getElementById('goat'); outputResults.innerHTML (outputResults);

Member Avatar for Siberian
0
135
Member Avatar for begueradj

Howdy, How can I disable Javascript in Firefox (version 27 and 28) on Windows ? There is no checkbox on the Content tab as I read on other forums ! Regards from Begueradj

Member Avatar for begueradj
0
224
Member Avatar for matrixdevuk

I'll put it simple, I suck at Javascript. How would I make a code editor, using a textarea that you can press [tab] and then it does this: " ". And when you press enter, the indent stays.

Member Avatar for matrixdevuk
0
94
Member Avatar for kyle.santelices.31

if(document.form1.captcha.value != '$_SESSION["code"]'){ alert("Wrongwrong captcha \n"); return false; } hello ,i just want to ask why is it not running ?i decided to convert my php function to javascript . thank you

Member Avatar for urtrivedi
0
226
Member Avatar for BTLSP
Member Avatar for BTLSP
0
126
Member Avatar for Mr

Till now I was expecting that there in no block level scope in Javascript. But after reading this article I came to know that block-scoped variables are introduced in javascript. Although this article <[Everything you need to know about Javascript variable scope](http://www.coolcoder.in/2014/03/everything-you-need-to-know-about.html) > has a very good explaination about the …

Member Avatar for evaipar
0
255
Member Avatar for oz_nc

I have an Android Project for my homework. I will upload an image from phone gallery and find color which is dominant but color band includes other remarkable colors. This is what I want to do exactly. I found a website when I was researching. http://lokeshdhakar.com/projects/color-thief/ . It’s written with …

0
129
Member Avatar for Siberian

Hi, I didn't know where to place this thread :) Any recommendations for an IDE app to save snippets of code within the program, I looked online, and there are many options, too hard to pick ! :)

Member Avatar for Siberian
0
323
Member Avatar for raopatwari

I am beginer in java script. I need to do this in javascript I have a char feild, in which date is stored. I need to pass a parameters like 'PST'( pacfif timezone) and char feild, in which date is stored(2014-03-17 21:27:01). that should convert to CST time.

Member Avatar for Dervish1
0
74
Member Avatar for Kent55

Hi, I am making a game in JS where a player has to move in a grid movement and the grid contains squares of different colours. Each colour should affect the player's speed. I am learning JS so I appreciate any help. I have the following code at the moment: …

Member Avatar for Dervish1
0
296
Member Avatar for Kent55

Hi, I need to make a game in JavaScript where a user moves an image (or anything) around a grid and if they hit a wall they lose a life and in each grid box there needs to be colours and different colours have different speed affects on the player. …

Member Avatar for Dervish1
0
234
Member Avatar for faysal.ishtiaq_1

[Click Here](http://download.geonames.org/export/zip/)In this link, there is a txt file with all the zipcode and lattitude, longitude for US. How do I get lattitude and longitude for a zipcode from this text file, using javascript as I wanna create a google map application, that displays a location after providing a zipcode.

Member Avatar for sina.ak.3
0
152
Member Avatar for Siberian

var pizza = "hello there"; function orange() { document.write("hello there "+pizza); } orange(); function orange() { document.write("what is going on"+pizza); } var pizza = "hello there"; Why can't you create a global variable after a function, as done in the second example. Why for a global variable to work must …

0
63
Member Avatar for Haru_1

This is really stupid question and i feel ashamed to ask but i kinda have to. So here is the thing, in my college/school we got some sort of homework which isn't a "must do" but i wish to for myself, so thing we need to do is, when i …

Member Avatar for Haru_1
0
239
Member Avatar for winterprince

Hi I am new to javascript and am working on Linux mint OS.I would like to know how to randomise a 3*3 matrix consisting of nine thumbnail images every time you hit the refresh button in javascript,without displaying the same order of images twice in a consecutive manner.

Member Avatar for iamthwee
0
50
Member Avatar for CrankyMero

So here is the thing its been days since im trying to solve this, i'm debuggin a project from the company i work, its a web system, and here is the thing i have a javascript file which im going to call 'docart.js' and a core file which i will …

Member Avatar for k99rs
0
200

The End.