15,117 Topics

Member Avatar for
Member Avatar for harinagarjuna

Hello, I have created a dropdown lists using javascript dynamically. But i am not able to get the selected option values of that dropdown lists. could anyone please help.

Member Avatar for diafol
0
234
Member Avatar for Ritesh_4

Hi Anyone can pls help me with a unique random number generator of length 3, prefixed with values from DDMMYYYY (e.g. for today's date 25062015001)?

Member Avatar for Ritesh_4
0
171
Member Avatar for gogs85

Hello i have problem on mobile device to prevent on click to another image to hide first. This is for hover effect and work fine : $("div.mitarbeiterfoto") .mouseenter(function() { var id = $(this).attr("id"); var idInfo = $(this).attr("id").substr(5); ($(this).find('img').css('display', 'none')); ($('#' + id + '_o').css('display', 'block')); showInfo(idInfo); }) .mouseleave(function() { var …

0
115
Member Avatar for xGrimReaperx

Hello I have two array that I want to use like String.Format Array 1: { "{0}", "-", "{1}" } Array 2: { "1", "2" } I want to use values from Array 2 to replace all {0}, {1} in Array 1 etc. so what I have tried: var i = …

0
86
Member Avatar for AntonyRayan

Hi, I Show list of standards in one select box, Based on that selection, I will display the related section in another select box, after that I will nter remaining fields normally, then it will save into DB. My question, How to edit that second Select box values in ajax …

Member Avatar for AntonyRayan
0
171
Member Avatar for Nybuler

Greeting to all! Thank in advanced for help I wanted to retrieve a value in text area using javascript and store it into s variable so that i can pass the variable as parameter for AJAX purpose. This might be a stupid question.... and i'm sorry about that~ besides, thank …

Member Avatar for ahmadmomi
0
7K
Member Avatar for Vaibhav_6

i have a login form and another form..i want to check user is logged in or not while user in on home page and he/she want to jump on another page.

Member Avatar for Lau_1
0
116
Member Avatar for mehnihma

I have a problem with unchecking checkbox with dynamic id. Both of them are checked but I need to set if one is clicked that other one is disabled then this is example: <input id="value_Ture_do_30_15_0" class="rnr-checkbox" name="value_Ture_do_30_15[]" value="1" checked="checked" type="checkbox"> <input id="value_Ture_preko_30_15_0" class="rnr-checkbox" name="value_Ture_preko_30_15[]" value="1" checked="checked" type="checkbox"> I have tried …

Member Avatar for mehnihma
0
258
Member Avatar for Hsn_1

Hello everybody I'am trying to execute JavaScript in GeckoWebBrowser my code is : Hide Copy Code GeckoWebBrowser1.Navigate("javascript:void(" + TextBox2.Text.Replace("""", """""") + ")")` my JavaScript is : Hide Copy Code var r = confirm("Press a button"); if (r == true) { x = "You pressed OK!"; } else { x = …

Member Avatar for stultuske
0
1K
Member Avatar for Latrell_vie

Hi folks ! Since last year i started building website. Up til now i always used html css and javascript/jquery. Now i want to get into adobe photoshop. My question : Can i upload my existing html file into adobe photoshop for editing or is there any other way to …

Member Avatar for almostbob
0
400
Member Avatar for berserk

I wasn’t sure which forum to put this under so I just selected web development. I have run into an issue that ironically I have solved before but thanks to my wonderful drop-box the changes I made were not saved and when I changed them again on another computer, the …

Member Avatar for berserk
0
428
Member Avatar for liphoso

Hope this is the correct forum to place this question. How would i run a php script in a javascript file? I have a php script named connection.php, it accesses a mysql database and runs queries. I would like to run the php script from a javascript file named initializeMap.js. …

Member Avatar for pzuurveen
0
3K
Member Avatar for punji

Hi, few days ago i downloaded a website so that i customize and run it in my localhost, buy when i run it in my localhost i get this javascript window which says, the page at localhost says the following image failed to load, probably a broken link: http://localhost/menuData/images/over.png but …

Member Avatar for diafol
0
160
Member Avatar for feedmemore
Member Avatar for diafol
0
43
Member Avatar for Siberian
Member Avatar for Siberian
0
195
Member Avatar for Trabelsi

Hi, I have a problem with some JavaScript code, i have three fields in my form scoreActuel, addedScore and NewScore, i used the onChange function because I want that every time the fields addedScore is updated , the field NewScore is updated as the sum of the values of the …

Member Avatar for Trabelsi
0
373
Member Avatar for SimonIoa

Is it possible to run two(2) funcions with the same id? `<a href="#icon" class='icon' id='icon' > `

Member Avatar for SimonIoa
0
513
Member Avatar for nadiam

I am trying to pass a value from a hidden input using ajax but console says whatever im doing is not a function `Uncaught TypeError: "#name".val is not a function page.php:35` which is this line : `var name = ("#name").val();` html: <input type='hidden' value='$newname' id='name'> ajax: var name = ("#name").val(); …

Member Avatar for nadiam
0
3K
Member Avatar for berserk

I am having no luck with this code but for some reason i can get this element to work but not the other one. here is my code. <td><a onclick="javascript:approve_account_function(<?php echo $row['id'];?>, <?php echo $rownumber;?>)" class="btn btn-success" name="yes_account" id="yes_account">Approve</a></td> <td><a onclick="javascript:decline_account_function(<?php echo $row['id'];?>, <?php echo $rownumber;?>)" class="btn btn-danger" name="no_account" id="no_account">Decline</a></td> …

Member Avatar for bnmng
0
479
Member Avatar for nadiam

Hi. Im trying to update a page with a form using AJAX but it isn't working. Nothing happens. I have a table and one of the columns has an anchor tag like this`<td><a href='#' value='$name' class='request' onclick='request(".$name.")'>$status</a></td>` so when the user clicks on Request a form opens up via ajax. …

Member Avatar for nadiam
0
378
Member Avatar for killingmonk

I have this .js file called by my page. The function I'm caling with my onclick is working before the button is clicked. window.onload = function() { document.getElementById('clickMe').onclick = testOne(); } function testOne() { var para = document.getElementsByTagName('p'); var length = para.length; for(i=0; i<length; i++) { document.writeln("+"); //document.getElementById(para[i]).style.font = "Arial"; …

Member Avatar for Matt_17
0
198
Member Avatar for Trabelsi

Hi, first, sorry for my english i am not good at all, I am trying to create a form that contains two drop-down lists , the first is related to the second list , I noticed that the first list of data ( joursemaine ) appears as a question mark …

Member Avatar for Trabelsi
0
253
Member Avatar for phoenix254

I am new in programming languages.I was trying to learn web socket with javascript to this [site](http://socket.io/get-started/chat/), but i am not understanding something that why i need to use **Package.json**. I tried to google a lot, but can not find something useful. One more thing if i create Package.json then …

Member Avatar for cereal
0
182
Member Avatar for Rhuntsman21

I have a datepicker which is set up to select a whole week. I have two buttons which are supposed to move the selected dates forward and backward a week. The forward button works all the time, but the backward button only works if the month changes. If the month …

Member Avatar for bnmng
0
442
Member Avatar for fielding

I am trying to get the text (not value) of a selected item in a select box <option> and display it elsewhere on the page. I have to admit im totally new to this so im going to need an explanation on plugging in a JQuery file... Thanks!

Member Avatar for ololol
0
3K
Member Avatar for madmax9922

I would like to know how to create a custom link on any of my website page to launch directly this modal contact form. thanks in advance. [Click Here](http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/)

Member Avatar for chriswelborn
0
254
Member Avatar for gentlemedia

I'm trying by clicking on a `button` to toggle a class on a parent element which is 5 levels higher, so I though that this would do the trick: $('.btn-list').click(function() { $(this).parents('.mix-serie').toggleClass('animate') }); But unfortunately it didn't, but if I just add a class, $('.btn-list').click(function() { $(this).parents('.mix-serie').addClass('animate') }); it does! …

Member Avatar for gentlemedia
0
4K
Member Avatar for Norbert_2

I found this https://github.com/inorganik/CountUp.js As my knowledge of javascript is very weak, i am asking for your help to store the counter result local, then display it on the user`s browser... var options = { useEasing : true, useGrouping : true, separator : ',', decimal : '.', prefix : '', …

Member Avatar for Norbert_2
0
193
Member Avatar for nevek

Hi, I am trying to load a page which has a ng-table in a page with jquery my function to load the subpage in the main page is like this: function loadSubPage(id){ var random = Math.random()*1000000; $("#aanvullingGegevens").load("gui/aanvragen/gekende_patient.php?patientID="+id+"&random="+random); } and this is my sub-page <script type="text/javascript" src="scripts/angular/angular.js" ></script> <script type="text/javascript" src="scripts/angular/ng-table.js" …

Member Avatar for nevek
0
382
Member Avatar for Bensirpent07

I'm using this code right now: // JavaScript Document $(document).scroll(function(){ if($(document).scrollTop() >= 470) { $('div.slide-in-section1').effect('slide'); } }); And of course I did realize that whenever you scroll just a little more it will keep re-running this bit of code. But I figured I had a fix, which was this: // …

Member Avatar for pixelsoul
0
380

The End.