All Questions

4
answers

Function to check if number is prime in JavaScript

In PHP I would use: for($i = 3; $i <= ceil(sqrt($num)); $i = $i + 2) { if($num % $i == 0) return false; } What is the function to do the verification using JS?     
asked on 09.04.2015 / 04:14
1
answer

Get the value of the selected item in a ComboBox in classic asp

I have two combobox, I need to get the id of one to load the other from the item that was selected in combobox1, how could I do this through a javascript function. <select id="cb_catinsumo" class="combo" name="cb_catinsumo" class="combo2"&g...
asked on 23.04.2014 / 19:54
2
answers

How do I get changes to a specific branch / branch from a remote repository in GIT?

I created a new branch / branch on my local machine. So I made commit and push to the remote repository on BitBucket. I noticed in BitBucket that the new branch / branch was created successfully. Now, another programmer needs...
asked on 17.02.2014 / 21:50
3
answers

How do I get the $ _GET value of a URL in CodeIgniter

I am sending a value get through a link for example: <a href="/admin/editar_user/5">Editar</a> And there in the method of my controller that calls the view I get: public function editar_user(){ $this->load->vi...
asked on 11.03.2014 / 16:04
3
answers

How to align the text in front of another element?

I was able to round the edges of the div just not being able to align the text in front of the div. My code looks like this: .boxEtapas { overflow: hidden; } .etapas { margin: 0 auto; } .etapas ul { list-style: none; }...
asked on 02.12.2016 / 16:40
3
answers

How to insert an element between two elements?

Explanation: I have a <div> parent that contains two <div> daughters, however I would like to insert a <table> using javascript, between, that is, in the middle of these two <div> daughters...
asked on 19.02.2014 / 20:49
5
answers

Regex to capture dimensions of a product with unit of measure

I have a function in python to capture the dimensions of a product in LxCxA format but I can not make it work for cases where the unit of measure appears between the values, the regex is this here: def findDimensions(text): p = re.compile(...
asked on 29.06.2018 / 22:04
2
answers

References for web programming learning [closed]

What sites can I check to start studying web programming? I'm a beginner on the subject.     
asked on 06.12.2014 / 13:42
1
answer

What is the programming language for creating Android applications?

What programming language is used to create the majority of Android mobile applications? For example, application guides, questions etc ...     
asked on 02.01.2017 / 03:33
3
answers

Switch the image on smaller screens

I have the following code: <div class="container-fluid"> <h1> Áreas de Atuação </h1> <div id="hr-atuacao"> <hr> <div class="card-columns"> <div class="card-img"> <img class...
asked on 07.10.2017 / 18:51