All Questions

3
answers

How to detect the click on the Back / Forward / Reload buttons in Google Chrome

How do I detect when the user clicks the Chrome Back / Forward / Reload buttons? I have already made a scheme to do a check before the user leaves the page through the elements of the page itself but I can not tell when he clicks the buttons...
asked on 26.08.2014 / 18:35
1
answer

Data initialization of a class

Is there any class initialization function for C ++? In Lua, using the classlib library there is the __init function, and in Python as well. EX: require "classlib" Human = class(); function Human:__init(name, age) self.nam...
asked on 20.12.2014 / 01:26
3
answers

Search for details of a book with Google Books API in PHP

I'm using Google Books API to get the details of a book: And to get the details of a book by searching by name, I'm using the following example provided by they , in this case the file simple-query.php within the examples fol...
asked on 12.01.2015 / 10:59
2
answers

How to retrieve values from fields loaded with jQuery

Hello, I recently encountered a problem loading div contents dynamically using jQuery, but it turns out that when I load content into this div, I can not retrieve the values that are sent from it. The content loaded in the div is a form, whic...
asked on 26.03.2014 / 12:17
1
answer

How to adjust navigation arrows

I need to adjust navigation arrows of a page that I have, but all the changes I make can not get it right, I need to initially make them larger and set the size to 36px by < in> 34px , the size was correct, but I can not seem to keep the arrow...
asked on 29.01.2015 / 11:31
2
answers

Conflict between Simple_HTML_Dom and non-object-oriented functions

I'm developing an app that has to access a list of sites saved in a database, loading all its links. It is a test application but I have encountered a difficulty. The routine is this one: function crawler() { include_once './simple_htm...
asked on 08.05.2014 / 11:38
1
answer

Problem with clickable area of links in a diagonal layout

I have the following problem: I have ul and in each li there is a link with display block and height and width defined. I called the three links of #a1 , #a2 and #a3 (actually, the styles are applied with...
asked on 22.01.2015 / 15:06
1
answer

Replacement of special characters by ASCII codes

I'm setting up a site built in charset and when I move to UTF-8 the special characters appear on the screen with that diamond and a question mark, so in addition to charset I need to change the characters by ASCII codes. Ex: รก - &aacut...
asked on 16.12.2014 / 18:10
3
answers

Update values after changing the dropdown

I know almost nothing about JavaScript but I was able to use Chosen to change my selects . What I can not do is use the trigger that the site indicates to update the field. I want every time I click the select field and the dropdown list...
asked on 30.11.2014 / 20:02
2
answers

Insert data into database according to number of checkboxes

I have form where I have fields with chekboxes and I want to know if it is possible to make as many inserts as selected fields. In other words, if the user chooses 4% with% I make 4% with%, is it possible? If so, how can I do it?...
asked on 29.01.2015 / 19:26