Questions tagged as 'javascript'

1
answer

Error writing IF and Else in jquery [duplicate]

I'm starting to venture into the development world now and hit a question when using IF and Else. The code below is OK <select id="course_list" > <?php $my_query = new WP_Query('tribe_events_cat=petroleo-e-gas'); ?>...
asked by 27.08.2015 / 09:54
1
answer

Make whole javascript read character utf-8 or iso-8859-1

I have a js file, which I minify to perform the due tasks. What happens is that whenever I add this js to my pages, where it is called, the characters of the Portuguese language are unreadable. So I think it's missing the UTF-8...
asked by 25.08.2015 / 12:52
1
answer

How do I create a javascript function to filter audio rss (podcast) for a project?

I have a question about how to create a function where I can filter audio (.mp3), with a maximum of 5 audios in the feed. And audio title from the RSS feed of the CBN podcast: link Well, in this case I managed to put the href, but I have...
asked by 01.09.2015 / 21:35
1
answer

How to set a start date in this countdown counter made in AngularJS

I created a module in Angular JS that takes the current date of the clock and starts counting until the end, but I need to be able to set a starting date to start the count that is not based on the clock, how do I do this? angular.module('...
asked by 29.08.2015 / 00:37
1
answer

Error converting with DuoCode using WinForms

I developed a C # application using Windows Forms, but wanted to convert to JavaScript using DuoCode. But it is giving the following errors: tryduocode.cs(7,14,7,21): error CS0234: The type or namespace name 'Windows' does not exist in the nam...
asked by 29.08.2015 / 23:12
1
answer

Validation of URL parameters

I would like opinions on an issue, maybe even simple, just to find out more ways to do this. The situation is as follows: NOTE: I use in this example .NET Framework 4.0 with a lot of Javascript, I only use Code-Behind to get the QueryStrin...
asked by 19.10.2015 / 14:36
1
answer

Opacity or fade in Javascript slide

Well, I'm making a slide here, in which each slide has floating icons etc ... The question is: When I change the slide I would like to make an effect on the images (jsons) in them in javascript as if it were fade in, so that in pure javascrip...
asked by 20.10.2015 / 15:43
1
answer

Click button zoom in to show the entire country (Brazil) on Google Maps

Hello, please help me with an example of how to do when the user clicks a button next to the map to have the map zoom in to show the entire country. I could not make a practical example. I think with this information you can understand what I...
asked by 19.10.2015 / 19:43
1
answer

How to send select element by email?

I have a contact form that uses JS to validate and PHP to send, works very well with input text and related, I would implement the select on it. I'm going to pass my codes here, I fear it will be very extensive: Form: <fo...
asked by 23.08.2015 / 03:29
2
answers

Select the country and bring the state

I have a code that is in Codeigniter . It has the page to register a user. This page asks him to enter the country and state he lives in. He needed it when selecting a country to come the states corresponding to that country. I found a Jav...
asked by 17.09.2015 / 14:32