Posts by adventistapr • 5,498 points
287 posts
-
-2
votes0
answers19
viewsQ: How to configure . htaccess and PHP to use user-friendly URL with parameters
I set up my .htaccess to use the URL Amigáveis on the site I’m developing, but I’m having a hard time passing and receiving parameters, by the rule that defines everything that is entered in the URL…
-
-1
votes0
answers10
viewsQ: How to make Bootbox await user confirmation?
I’m trying to send a message using the BootBox the moment the user clicks on the button GRAVAR but the message is not waiting for the user’s reply and message disappears, the message is displayed…
bootboxasked adventistapr 5,498 -
-1
votes1
answer39
viewsQ: How to delete strange character in page header
Strangely a character began to appear in the <body> of a page I’m developing causing a blank line in the layout, stranger still, so I was able to identify is that if I remove the connection to…
-
-3
votes1
answer43
viewsQ: How to check if the return Ajax is empty
I’m trying to verify a Json feedback for a decision-making, but I’m not getting it, I have it: if (sender.getFieldName() == 'IdUsuarioIntranet') { var MatriculaPessoa = sender.getValue();…
ajaxasked adventistapr 5,498 -
0
votes0
answers71
viewsQ: Validate if date age is less than 18
I’m trying to verify if the age of the informed date is less than 18 with no need to check if it’s over 18, but strangely not working. What am I doing wrong? $DataNascimento = '2007/09/02'; //…
phpasked adventistapr 5,498 -
-1
votes1
answer21
viewsQ: Prevent double submission of forms in Submit
How can I prevent the user from doing multiple submissions of a form? My code is like this: // VALIDAÇÃO DO CADASTRO $(document).ready(function(e){ $(function () { // VALIDAÇÃO…
-
0
votes1
answer365
viewsA: Get Mysql name, middle name, and last name of records
I managed to do what I needed, get name, middle name and last name of records directly from a Mysql query, follow code for future searches. SELECT TRIM(SUBSTRING(`cadColaborador`.Nome, 1,…
mysqlanswered adventistapr 5,498 -
-3
votes1
answer365
viewsQ: Get Mysql name, middle name, and last name of records
How can I cut the name of a string coming from Mysql to get name, middle name and last name, I’m trying and I’m not getting, what I have so far is this, but I need the middle name and middle name to…
mysqlasked adventistapr 5,498 -
0
votes0
answers14
viewsQ: How to delete specific class after seat deletion return
I’m trying to eliminate a class after deletion in bank, in the script I had deleted li with this line here in my code: $el.parents('li').remove(); But my need is another, when returning from a…
jqueryasked adventistapr 5,498 -
0
votes1
answer140
viewsQ: Sum at time of INSERT with php
I’m trying to make a sum at the time of a INSERT in a table but I’m having difficulties to accomplish, in my case, the sum needs to take into account a grouping by phone number and user, for…
-
0
votes1
answer106
viewsA: How to play recovered bank values in inputs using Fullcalendar
The first negative of the question made me go back to the browser inspector and go seeing the possibilities of Fullcalendar, I will not exclude the question but answer it for future queries if…
-
-1
votes1
answer106
viewsQ: How to play recovered bank values in inputs using Fullcalendar
I’m having a hard time playing recovered values from a bench to fields of a form for later edition, I’ve read the documentation, I’ve looked for examples and even then I couldn’t, I’ve even checked…
-
0
votes1
answer43
viewsQ: How not to allow recording if dynamically created radios are not marked
I am trying to do a validation so that only be allowed to record the records if all radios are marked, or to Sim or to Não, I’m creating the radios dynamically but the code I did to try this…
-
4
votes2
answers131
viewsQ: How to load Lightbox2 when entering the page
I am trying for some time to resolve a situation I have, I need that when entering the site an advertisement is displayed and for that I am trying to use the plugin Lightbox2 but in the…
-
-3
votes1
answer50
viewsQ: How to Leave Banner at the Right Time
I am trying unsuccessfully to leave a banner with a shorter height, I have already inspected the code and I believe I have found the code for change, I have put in the body of the page this code:…
cssasked adventistapr 5,498 -
3
votes3
answers216
viewsQ: As a search for any term removing spaces, traces and points with LIKE
I’m having a hard time changing a search that I have today by searching a code that has, for example this mask A 901.325.0744 the search is correct because the code is registered in this way and the…
-
1
votes3
answers891
viewsQ: How to validate form fields using pure Javascript
I’m trying to use a validation in a form I have using Javascript, but it’s not working very well, what I’m trying to do is this: I defined a div like this: <style type="text/css"> .msg-erro{…
javascriptasked adventistapr 5,498 -
0
votes2
answers68
viewsA: How to leave menu item with different background color permanently
After making several attempts, including with some tips from the staff, I did so: I customized the css snippet, so: #topMain.nav-pills>li.encerrar:last-child>a {…
cssanswered adventistapr 5,498 -
-2
votes2
answers68
viewsQ: How to leave menu item with different background color permanently
I honestly don’t know how to do, so I’m asking for a hint, I have a menu and I would like the option ENCERRAR SESSÃO was with a background different from what is today permanently, the gray image…
cssasked adventistapr 5,498 -
0
votes2
answers65
viewsQ: Why value looks different with printf and echo
I’m making a calculation between dates and times but when displaying the value with printf the result is one and with echo is different. With this calculation the value is displayed correctly:…
phpasked adventistapr 5,498 -
1
votes1
answer1086
viewsQ: How to make Maskmoney correctly load value in input when entering page
I am trying unsuccessfully to make Maskmoney load the format value when entering the page, I know there is a link right here in the OS with a similar question, but even with the example I am not…
-
2
votes1
answer147
viewsQ: How to properly configure JSON return with content coming from Mysql with accent
I have a problem in the return JSON of some information from my BD, some are accentuating and the answer fails, I have tried some past suggestions, such as this: $response = utf8_encode($response);…
-
-2
votes1
answer9093
viewsQ: How to resolve Syntaxerror error: Unexpected token E in JSON at position 1
I’m trying to make a simple registration but I’m getting an error message: Syntaxerror: Unexpected token E in JSON at position 1 I could not solve, the script is thus configured:…
-
3
votes1
answer179
viewsQ: How to insert PDO records into Mysql sequentially
I am sending six fields of a form to insert in my Mysql but only the first three are going correctly, I need to insert the first three and in sequence the other three, but I have this difficulty in…
-
0
votes1
answer43
viewsQ: How can I pass a redirected parameter by clicking a button
I am trying to send a parameter to another page .php when clicking a button, I would not like this parameter to be displayed in the browser, I tried it with this code here, but the parameter was…
-
3
votes0
answers418
viewsQ: Fatal error: Cannot redeclare class Connected
I have a problem that is a mystery to me, in my lodging at locaweb a website that was running normally yesterday morning to afternoon started to accuse me of a connection error, I have not yet…
-
1
votes1
answer40
viewsQ: Input spacing when fields are hidden
I’m trying to solve what I consider a problem, I have some fields that are hidden and are only displayed with some radios are selected and are working, but what I’d like to know is if a way to…
twitter-bootstrapasked adventistapr 5,498 -
3
votes1
answer277
viewsQ: Disfigured layout using Bootstrap Wizard
I’m running some tests with a script where the user can only proceed to the next step if the corresponding checkbox is checked, I managed with the help of @Sam to perform this configuration, but now…
-
3
votes2
answers533
viewsQ: Enable next Bootstrap Wizard step if checkbox is checked
I’m trying to do a check with a Bootstrap Wizard that I am using, I need the steps to be enabled if certain checks are marked, otherwise the next step cannot be enabled. I have these steps on the…
-
1
votes1
answer2076
viewsQ: How to add and remove rows and columns in html table with jquery
I have a table where I allow the user to insert/remove rows when they find it necessary, but what I need and am not able to adapt is to insert a block of Columns and Rows, but without success, I…
-
2
votes1
answer69
viewsQ: How to use Jquery.Mask for input CPF using []
I am trying to use Jquery.Mask to insert a mask to a field with CPF but it does not work when the field has the following format: $("#Cpfpessoa[]") The input is like this: <input type="text"…
-
-1
votes1
answer51
viewsQ: Shows days with pouch ignoring today with return JSON
I’m trying to make a logic to display the next day that a particular warehouse will have mailing pouch, I’m trying to create a array with the quest I’m making in my banco de dados and trying to…
-
1
votes1
answer69
viewsQ: How to click link open corresponding panel
By clicking on a link at the bottom of my page I’m trying to open the corresponding panel that points to a specific page, but I’m not getting it, I saw an example here but I couldn’t adapt. The…
-
0
votes1
answer393
viewsQ: Send multiple mailing lists from Mysql with Phpmailer
I’m trying to send some emails with Phpmailer but always get an error message: Invalid address: [email protected], [email protected] I’ve checked everything I know but still can not, here my list is…
-
1
votes0
answers66
viewsQ: Zoom with carousel magnifying glass with Light-Zoom
I used a script to give a zoom effect with magnifying glass on my page, but it works only with an image, when there is more than one the effect is not applied, I do not know very well how to…
jqueryasked adventistapr 5,498 -
1
votes2
answers161
viewsQ: Pass value with discount to Pagseguro
I am developing a shopping cart that to the amount to reach a certain range it calculates a discount for the customer, I calculate the freight and the value of the freight is correctly added to the…
phpasked adventistapr 5,498 -
1
votes1
answer215
viewsA: Error plugin Uncaught Typeerror: Cannot read Property 'clone' of Undefined
I was able to solve my problem with a check of the amount of records returned from the survey, means tabajara but it worked, I made a IF to display the class when there is more than one Thumb…
owl-carouselanswered adventistapr 5,498 -
0
votes1
answer215
viewsQ: Error plugin Uncaught Typeerror: Cannot read Property 'clone' of Undefined
I’m using a plugin called Owl Carousel and I’m having a problem, if the carousel has only one image me is sent an error message, that is this: Uncaught Typeerror: Cannot read Property 'clone' of…
owl-carouselasked adventistapr 5,498 -
0
votes1
answer58
viewsQ: How to delete strange character appearing in page header
On my page I do a include for a header that sits at the top of the page, but strangely is getting one sujeira that gives a space right at the beginning, I do not know very well what is and nor what…
-
0
votes1
answer305
viewsQ: Show and Hide field with Select
I’m trying to display some fields of a form and partly I can make it work, but not completely even already reviewing the code. I need to show the inputs with the labels and hide inputs with their…
-
1
votes1
answer46
viewsQ: Message to user by not selecting size and color with select
I need to change a script I have and I’m having some difficulty, I need to give a Alert for the user if he tries to go to the cart without selecting the option of Tamanho and Cor, the event even…
-
3
votes2
answers159
viewsQ: How to build header with logo in the center and information on the left and right
I’m trying to create a header with information to the right, a logo in the center and information to the left, but what I did is not even close to what I need, I did some tests with some lines I…
-
4
votes1
answer1144
viewsQ: Change menu color by css
I’m trying to leave a menu with a specific color and I’m not getting it, I’ve changed the effect hover but when the mouse is not positioned would like the whole menu to be the color #e70781 and not…
cssasked adventistapr 5,498 -
1
votes1
answer203
viewsQ: Select more than one option with stylized checkbox
I’m using some stylized checks to mark some product sizes on a filter, seeing by Chrome inspection the checks are there when clicking the filter is performed, but in the normal view I couldn’t leave…
cssasked adventistapr 5,498 -
1
votes0
answers128
viewsQ: Freight in my shopping cart is different than expected
I’m going through a strange problem, I’m doing the integration of my site with the PagSeguro, I am calculating the freight on my side and the values are correct according to a conference of a page…
phpasked adventistapr 5,498 -
0
votes0
answers96
viewsQ: Mysql query does not return data even if records exist
I’m trying to make an appointment with mine BD but strangely returns nothing, even existing records with the given parameters, yes, the script still uses the mysql_And I’m changing it, but I’d like…
-
1
votes0
answers20
viewsQ: How to Foreach with Smarty Using Key
I’m making an appointment in my BD to build a relationship with some NF numbers and their respective dates, but the result is being the last record, of which there are three. What I’ve done so far:…
smartyasked adventistapr 5,498 -
0
votes2
answers40
viewsQ: Check if edge is applied
I am doing a check on my page so that the user will always be required to select one cor and a tamanho but my script is not working properly even by selecting the color and clicking the add button…
-
4
votes2
answers242
viewsQ: How to leave checked option when clicking div
There is a website where the customer should choose a cor and tamanho for certain product, what I have today are Divs that show colors and sizes but I’m not able to leave the option marcada when…
-
-2
votes1
answer109
viewsQ: Display hexadecimal color with php coming from Mysql
I would like to display on a page that I am developing a hexadecimal value that is stored in my database. I did some tests, but without success. I tried to do something like this: <?php echo…
phpasked adventistapr 5,498