FAQ Database Discussion Community


How do I get values dynamically from radio buttons?

jquery,button,radio
This is an on change event for anything changed on the page. $(this).change(function(){ type = $('input[name='+$(this).name+'radioName]:checked', '#myForm').val(); alert(type); }); I want to get the radio button that is clicked. So I can show the hidden input box when Profit is clicked. <TD align=left> <input type=radio name="Red" value="l" checked>Loss <input type=radio...

How to get name of recently played song on FM radio station

radio
FM radios (eg in the cars) show the name of songs actually played. So the car radio needs to get song's name from somewhere. Is there a way to get this data into database? Just asking generally cause I was thinking how to get this data (Radio Station's name, the...

Reading a character and integer command from radio in order to execute a function.

data,arduino,radio,packet,eeprom
I am trying to create a code and loop that can read a character and integer from radio. This character is a command that will represent a packet recover command. This code is being performed in arduino. The purpose of this code is to read a character command and an...

PHP: Submitting form data via $_POST works for all fields except radio buttons

php,forms,post,radio-button,radio
I am new to PHP and hope someone can help me with this. I have an HTML form with a number of inputs and textareas. On Submit I pass the form to another PHP page that generates an email with its values. For text inputs and textareas everything works as...

HTML Form Dropdown within Radio

php,html,css,forms,radio
UPDATE: Sorry, when removing syntax from perl script I removed a little too much. Here's the code thus far. I am posting "student_name" to script.pl. This can either be entered in a text form or selected from the drop down box based on which you choose using a radio button....

Having issue rendering components with radio buttons multiple times

reactjs,radio,radio-group
A bit of context first, I'm working a questionnaire and decided to start learning React.js. Each step of the questionnaire includes a question and a yes/no radio button group, and also navigation buttons. Here's the jsfiddle. The question component is pretty straight forward, I'm passing the formData and save data...

GNU Radio on Community radios

python,audio,radio,gnuradio
I'm trying to set GNU Radio as an audio processor for a little community radio in my town. I've already installed GNU Radio and it's working, but I'm not a sound engineer, so I need some help. This is my installation: MIC & Music Player ----> Mixer ----> GNU Radio...

:checked selector not working

html,css,input,radio,checked
I am trying to get the follow code to work: html <div class = "col-md-4 video text-center wrapper-q1"> <p class = "no-padding"> <input class="question1" id = "vraag1" type="radio" name="q1" value="Moon"> <br /> <label class = "pointer" for = "vraag1">Text</label> </p> </div> css input[type="radio"] { display:none; } label:before { content: "";...

Selecting radio button in js

html,ajax,forms,radio
I have a problem in my code, I wanna show input text form when I click one of radio button. Ajax code : <script type="text/javascript"> $(document).ready(function(){ $('#macam').click( function() { var value = $(this).val(); if(value == "0"){ $("#hilang").html("<input name='' value='tes' type='text' />"); } else{ $("#hilang").html(""); } }); }); </script> HTML code...

I am trying to convert dollars to pounds using jquery [closed]

jquery,radio
I am trying to convert mile to Km using jQuery but I can't seem to do it. The value from the text box isn't being identified.

how to change background image dynamically only when radio button is selected and by pressing submit button [closed]

javascript,button,submit,radio
how to change background image dynamically only when radio button is selected and by pressing submit button link to sample...

input radio checked / unchecked not working in Firefox 38.0.5 Windows - jquery

javascript,jquery,forms,firefox,radio
I am trying to figure out a way to allow users to select radio options but then deselect the option if they change their mind. I would also like hide other form fields if they select an option because those fields are not relevant. I can get the code to...

Vlc Radio Launcher

linux,shell,vlc,radio,mint
I like to listen to one particular radio and I have made myself a little launcher using vlc that is simply like this : #!/bin/sh vlc http://mp3lg.tdf-cdn.com/fip/all/fiphautdebit.mp3 What I would like to do is to have this instance of vlc - I have allowed multiple instances in vlc preferences, immediatly...

Using cc2530 radio with contiki

radio,contiki,lpc
I am trying to build a port for Contiki on my lpc1347 board. I have set up the mcu libraries and makefiles, all that is left is to add the radio support. My goal is to use a cc2530 radio that I have, the problem is i do not know...

Bootstrap Buttons Radio Button Showing Inside Columns

jquery,css,twitter-bootstrap,label,radio
Implementing Bootstrap Buttons. When you place each label inside a div, the radio button appears. Remove the div and the radio buttons do not appear. How to implement inside div and hide the radio button? We want inside a div only so we can use cols. <div class="btn-group" data-toggle="buttons"> <!--Shows...

PHP Form Processing ~ Issue with radio button chekced [duplicate]

php,forms,radio
This question already has an answer here: PHP: “Notice: Undefined variable” and “Notice: Undefined index” 11 answers I am trying to make a contact form and I believe that the only way is through PHP (so I get an e-mail when my client contacts me.) It is really a...

radio button as table cell

javascript,jquery,button,radio
Js Fiddle here is the JS i have : $( function() { $('td').click( function() { $(this).toggleClass("red-cell"); } ); } ); and the style : td { background: white; cursor: pointer; padding: 2px } td.red-cell { background: #339933; } Easiest to explain by looking at the jsfiddle. I want to be...

If Radio button checked show div

javascript,hide,show,radio
I have HTML CODE below: $('input[type="radio"]').click(function(){ if($(this).attr("value")=="ABC"){ $(".Box").hide('slow'); } if($(this).attr("value")=="PQR"){ $(".Box").show('slow'); } }); <table> <tr> <td align="left" height="45"> <input type="radio" class="radioBtn" name="Radio" id="Radio" value="ABC" required> ABC <input class="radioBtn" type="radio" name="Radio" id="Radio" value="PQR" required> PQR <div class="Box" style="display:none">Text</div> </td> </tr> </table>...

Information from ICEcast [closed]

javascript,php,html,radio,icecast
I have a Dutch Radio Station called FinioxFM and I would like to get information from my ICEcast server to my website. I'm using Airtime, I've searched all over the internet and I couldn't find a answer. I saw a lot op options but they were all from 2007 or...

Navigation for slider by checkbox

jquery,checkbox,slider,radio
Continuing experiments with my own slider. Now making nav arrows. So Im asking how to make it work? I’m using next()/prev() to make next/prev input checkbox to be checked. But next()/prev() isn’t working. Why? Here is the code. $('.to-right').click(function(){ $('input[type="radio"]:checked').next('input[type="radio"]').prop("checked", true) }); $('.to-left').click(function(){ $('input[type="radio"]:checked').prev('input[type="radio"]').prop("checked", true) }); ...

Multiple radio button groups in one form

html,forms,group,radio
is it possible to have multiple radio button groups in a single form? Usually selection one button deselects the previous, I just need to have one of a group deselected. <form> <fieldset id="group1"> <input type="radio" value=""> <input type="radio" value=""> </fieldset> <fieldset id="group2"> <input type="radio" value=""> <input type="radio" value=""> <input type="radio"...

AFSK Encoding and Decoding in Ruby

ruby,radio
I'm looking to write an 'Audio Frequency Shift Keying' (AFSK) encoder and decoder that could be used to transmit and receive data using radio/sound waves. Bell 202 is the AFSK standard I'm trying to work from it encodes binary data into two tones 1200hz and 2200hz. These two tones stand...

EnergyMicro and EZradio Pro (Si4463)

embedded,real-time,radio,rt,efm
I cannot find the solution for my problem. If somebody has worked with Si4463 radio module? According to the datasheet, it must be simple, but I cannot make it work consistently. My transceiver sends data once each second. 1 byte preamble + 2 bytes sync + 7 bytes data +...

Check if a Radio Streaming url is working or not with Javascript

javascript,php,jquery,streaming,radio
Hi I'm doing a website which contains several radios. I need to know, through javascript, if a radio stream url is working or not. I achieve this in PHP doing a file_get_contents($radio_source, false, NULL, -1, 600);, doing this I know that if the request reached the limit (600) then the...