Questions tagged as 'javascript'

1
answer

Call method of C # in javascript

I created a method that calls data from a database in C #. How can I call this method in JavaScript? Follow the code [WebMethod] public copa recuperaDados(int cAno) { var con = ConfigurationManager.ConnectionStrings["Data So...
asked by 19.05.2018 / 03:05
1
answer

How to get all posts from the WordPress REST API?

per_page returns posts in the range of 1 to 100, but needed to return 500. How to get all posts from the WordPress REST API?     
asked by 17.05.2018 / 20:19
0
answers

Click on the link and upload new video

I'm in need of help with the following problem: I have camera monitoring and I want to make it available to some users, but I want them to see only one at a time so I do not weigh the link too much, so I started to do the code below, but I ca...
asked by 17.05.2018 / 16:24
1
answer

Save various data in Laravel

I have the following formula on my blade, and now I want to save the data for each row in my database. How to save this data in Laravel? for ($i = 0; $i < 12; $i++){ var minhaData = moment(DataVencimento).add($i, 'months');...
asked by 29.04.2018 / 22:29
1
answer

Link with Anchor

I'm making a website and I have a link that, in addition to sending a message when it's clicked, uses an anchor to put the featured section of the site. I'm doing this as follows: <a href="/alerta#destaque">Gerar Alerta</a> I...
asked by 30.04.2018 / 07:15
2
answers

How to create a clickable link inside another

I have a system where I need to create a clickable href link inside a div that is also clickable. In short, I wanted to know if there is any way to create a "clickable link B" within a "clickable link A". Being that the "internal link B" has...
asked by 29.04.2018 / 05:44
0
answers

JavaScript does not show menu

My menu code: <!-- SIDEBAR --> <div id="wrapper" class="toggled"> <!-- Sidebar --> <div id="sidebar-wrapper" class="blue-grey darken-4"> <ul class="sidebar-nav">...
asked by 29.04.2018 / 02:58
0
answers

javascript form

I'm creating a form and in it I have converted the values entered into objects to save in a cookie, but I'm not able to get from the second value of this object, I would like to get all values, follow the code, recruit code but even so it's unde...
asked by 07.05.2018 / 20:29
1
answer

Print text positioned in image

I have text positioned in the center of an image, the logic is to print a certificate, and this text is generated dynamically, this occurs correctly. The problem is at the time of printing, that the text is on page 2 the image on page 1 HTML:&l...
asked by 07.05.2018 / 22:37
0
answers

Display image with saved markup in the database

My problem is this: My page allows me to select an image from my bank, make some point markings, and save those points in the database. I would now like to call those images back to the screen, except with the markings that were made and saved o...
asked by 14.05.2018 / 03:18