14,053 Topics
| |
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 … | |
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 :) | |
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 … | |
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; … | |
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 | |
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 : … | |
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 … | |
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? | |
Why isn't this [loop](http://jsfiddle.net/WildWind/8GY37/) working ? | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 ) { … | |
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 … | |
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) )}; | |
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... | |
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 … | |
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 … | |
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 … | |
How can I prevent the user from typing in a date or anything else in the <input> element connected with a jQuery datepicker ? | |
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. … | |
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 … | |
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 … | |
I have an string get to url as : TP.+H%E1%BB%93+Ch%C3%AD+Minh . I want convert of utf-8 format. | |
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 = … | |
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 … |
The End.