14,053 Topics

Member Avatar for
Member Avatar for vishalonne

I have 2 drop down. In 2nd drop down items are added dynamically based on 1st drop down selection. Now I want selected value of 5th subject to store in MySQL table. I am not able to get the value of option which is selected in 2nd drop down. How …

Member Avatar for DJBirdi
0
291
Member Avatar for Tcll

so I have a bunch of DIVs containing inputs named by ints. I have the parent DIV of these DIVs, but now I'm stuck at: var div = parent.children()[index] what I want to do is get the child <input> by it's name "0". how can I do this?? thanks :)

Member Avatar for Tcll
0
140
Member Avatar for Yorkiebar14

Hello, I am trying to receive the documenttext of a web browser after the user has clicked a javascript button which loads more information on to the page. Instead of getting the new code, it simply gives the original code which was given once the page was loaded. Any help …

0
83
Member Avatar for kojo.acquah.79

I want the field entries to be posted to a new row on the table on the same page [without refreshing] but I have no idea what to do. Please help. <!DOCTYPE HTML> <HEAD> <style type="text/css"> body { background-image:url('http://s3.amazonaws.com/br-cdn/temp_images/2014/03/03/bcada532fad70fea292c3dfacdd14e7b.gif?1393878752'); background-repeat:repeat; width:750pt; margin:0 auto;} p {font-size:12pt; font-family:Trebuchet MS;} form {font-size:12pt; color:blue; …

Member Avatar for diafol
0
157
Member Avatar for silverdust

I'm trying to set a time limit of like 2 mins after time of a click event. How can I achieve this? Most of the countdown timers I see all over the internet are countdowns to dates like Aug 23, 2015

Member Avatar for silverdust
0
213
Member Avatar for vishalonne

I want to give 2 option for 5th subjects depending on stream choice. Means if user select Commerce then he/she must able to select any 1 subject from drop down either IP or Other same for other streams. – <!-- 1st select block will look like this --> <td>Stream : …

Member Avatar for diafol
0
271
Member Avatar for network18

Hello, I have an event ('show' & 'click') bounded to the element to make it scrollable using the jquery '.on' method but when I try to bind another event on click like below the alert does not show up - `$('.elem').on('show', function(){//some code here}).on('click', function(){alert($(this).text())});` what I am actually trying …

Member Avatar for network18
0
138
Member Avatar for camillee

i want to make a pop window like in javascript, when a user enters invalid username or password, a window appears requesting valid information. how can i do that please?

Member Avatar for diafol
0
5K
Member Avatar for Siberian
Member Avatar for Siberian
0
112
Member Avatar for <M/>

This is a pretty darn simple snippet that I learned from a site (don't remember the name). This is just the working Javascript which i managed to "easily" replicate :P Hopefully this will be useful for you guys. Note, this won't graph anything unless you have the html/css (i didn't …

Member Avatar for <M/>
0
212
Member Avatar for garyjohnson

I have a link that once clicked is suppose to make a div visible. So far it does but it only makes the div visible for a second then it returns to being invisible. I gave the div the value `display:none;` in Css and the javascript gives it the value …

Member Avatar for hericles
0
993
Member Avatar for Ole Raptor

I have a function that calls a php script to update cart items (cookie). When I have multiple items in the cart I use a loop that calls my function. function updateCart(ur){ $.ajax({ url: ur, success: function(data){ console.log(data); } }); } I think this is firing too fast or something. …

Member Avatar for Ole Raptor
0
219
Member Avatar for Tcll

this JS code goes towards a plugin for my forum. the user-code for the smileys is supplied from a <span>user-code</span> or dictionary object as: "{':\\)':'http://somedomain.com/smile.gif',':\\(':'http://somedomain.com/frown.gif'}" ^while this is user-code, a GUI replaces the textarea containing this, so the user doesn't get to see this code. as for the code that …

Member Avatar for Tcll
0
134
Member Avatar for xTurK

Hello, How can I modify contents of a web page (like text) and have it stay that way locally, even after refreshing and reloading the page from a hyperlink? I know you can use Javascript to modify information in a web page, but that is only temporary. I want to …

Member Avatar for xTurK
0
265
Member Avatar for dhani09

I'm working on a website with a sign-up form. I've been able to perform validation without page reload, printing appropriate error messages.However i'm trying to implement an interface i've seen on a couple of websites, where a user is guided to fill certain fields like password that come with restrictions, …

Member Avatar for dhani09
0
162
Member Avatar for phoenix_2000

Heya all, I'm trying to render a histogram of relative frequencies using D3 in combination with AJAX. Now i'm getting all my data correctly, but when i try to draw my chart, the first 2 bars are missing. The only error i'm getting on both firefox's and chrome's javascript console …

Member Avatar for phoenix_2000
0
3K
Member Avatar for nouth

Can someone explain this what it is doing? if ( condition1 && condition2 && condition3 && condition4 && condition5 ) { code } It doesn't do what I want it to do but this does. if ( condition1 ) { if ( condition2 ) { if ( condition3 ) { …

Member Avatar for stultuske
0
152
Member Avatar for <M/>

I am trying to create a way so that I can collect 5 points within the (x,y) format. Then, I want to take those points and plot them on a coordinate plane. I am not sure how to write this, espicially when I am only planning on PHP. I have …

Member Avatar for diafol
0
288
Member Avatar for Siberian

I want the script, when the event is clicked, animate the div into view, only unless the div is clicked. Is the follow script in the right direction ? $("#open").click(function() { .animate(easeInOutBounce) )};

Member Avatar for Siberian
0
127
Member Avatar for ankit1122

hello sir, can i use ajax in textarea for showing hints from within a file..i think web development forums used this technique for tgging the posts...

Member Avatar for diafol
0
260
Member Avatar for ErlendHL

Hi! I have now learned how to write to and read from .txt files on my server via [B]php[/B], but is it possible to do this with [B]JavaScript[/B]? :icon_question: Like that JavaScript writes to the .txt file every second without needing the user to refresh the page to write or …

Member Avatar for Donald_2
0
20K
Member Avatar for missy786

I am trying to create a event listener function, which can render table from drawVisualisation(), when the page loads, but when I click on the controls[[categoryPicker(**dropdownist**), stringFilter(**textbox**)]], as the controls filter the data. When the user passes the filter, i would like the data to be filtered and render table …

0
109
Member Avatar for Priti_P

Hello, I am using Yii framwork. What I want to do is, I have a dropdown and one button. on button click, i want to send selected value of dropdown in url. <div class='box'> Change to another Skill Type<br> // IT IS DROPDOWN WITH VALUES AND ID of this input …

0
174
Member Avatar for aparnesh

How can I prevent the user from typing in a date or anything else in the <input> element connected with a jQuery datepicker ?

Member Avatar for jstfsklh211
0
273
Member Avatar for 203428

hello everybody; up to what level can I use javascript (taking advantage of the strength of phonegap or Titanium) to create an android application. ex 1:can I create or run a service (in the android sense) !!! ?? or can I access to the GSM properties like provide package android.telephony.gsm. …

Member Avatar for 203428
0
245
Member Avatar for <M/>

Hey guys, I am back from the dead (i don't mean it literaly)... I was working on a graphing calculator and I stumbled onto a random problem, which i know is really simple, but I constantly keep over working it (and now I am tired...) to the wrong direction. In …

Member Avatar for <M/>
0
342
Member Avatar for wfray

I've recently upgraded to Windows 8.1 and IE 11. When testing my PHP/html/Javascript code, using Xampp, various display and processing errors occur. For example: a particular javascript function doesn't seem to even get get invoked; the javascript return function works differently; icons don't display correctly, etc. When I put the …

0
165
Member Avatar for daocntt

I have an string get to url as : TP.+H%E1%BB%93+Ch%C3%AD+Minh . I want convert of utf-8 format.

0
146
Member Avatar for vizz

When mouse is moved in right direction, move follower in left direction, when mouse is moved in bottom direction, move follower in top direction Simply move `#follower` in opposite direction of mouse move events (move fullscreen div) var mouseX = 0, mouseY = 0; $(document).mousemove(function(e){ mouseX = e.pageX; mouseY = …

0
123
Member Avatar for dlmagers

Hello, I am definitely a beginner. I need some help with this application. I need to be able to have an alert box pop up and as the user 'Enter degrees in Fahrenheit\n Or enter 999 to end entries'. I am not sure what I am doing wrong. Thank you …

Member Avatar for Alberto Bucur
0
1K

The End.