Most voted "id" questions
56 questions
Sort by count of
-
12
votes3
answers1595
viewsIs it bad practice to put numbers as id in HTML elements? If so, why?
I have a loop printing HTML elements, for example: for($i = 0; $i < 3; $i++){ echo "<div id='$i'>$i</div>"; } Is it bad practice to put numbers as id in HTML elements? If yes why?…
-
5
votes2
answers1094
viewsHow to return the page with the "Chor" of the LARAVEL id?
After submitting the form I return to the page in question with two methods, redirect() and back(). In case I’m using the bootstrap tabs and would like to return with the id anchor, ex: return…
-
5
votes1
answer1122
viewsHow to get 'unique identifier' from browser
In my research I have already found the Object - Navigator, to obtain information relevant to the user’s browser. However I found nothing satisfactory in this Navigator that I can use to generate a…
-
5
votes2
answers30215
viewshow does auto increment work in mysql?
I want to know how to add a column so that it is primary key and auto-increment, but that the value is higher, example: ID :3509. and not just 1,2,3,4...etc.…
-
2
votes4
answers2059
viewsHow to Verify the existence of an Id in a document via Jquery?
I am programming the system of my TCC and in it I am creating a site that contains two types of ID in the Div container of each page: fundo_index on the Index and fundo_base in other pages. I need…
-
2
votes2
answers356
viewsTake any variable from an array that has a certain id in Angularjs
With the following code, I am saying that in the second array contained in the object $scope.listademercadoria there is the property "quantity", and I am declaring it as value 0.…
-
2
votes2
answers61
viewsLawtex - Changing the default print of a struct
I have the following struct in my program: +<vara>: struct[Vara] { name = "Dados da Vara" request = "Preencha os dados da vara" fields { +[numero] : Integer { name = "Número" request =…
-
1
votes0
answers57
viewsHow to find the input field ID (Text and Listbox)?
I ran the code below and was able to identify the field ("body_x_tabc_x_identity_x_prxidentity_x_selBscenCode_x_txtselBscenCode_x_x") through the line of the Set objInputs. But I cannot identify the…
-
1
votes2
answers197
viewsPass database ids in css
Good afternoon. I want to change the css of a div whose id is equal to the id coming from a database. How can I do this? Can I use php in css? I want to pass the id where it is ? HTML <div…
-
1
votes2
answers1041
viewsLoad client data into a PHP modal
Hello, I have a problem developing a page that reports a list of clients. In the main screen appear the fields ID, Name and CPF. In addition, on the same line, the "View" button appears, which…
-
1
votes1
answer422
viewsPick CSS class from other sites using PHP HTML DOM Parser
I’m trying to get a class from a news site, but I’m not getting it. $titulo = $html->find('feed-post-body-title gui-color-primary gui-color-hover', 0) ->innertext; echo $titulo; You’re making…
-
1
votes2
answers386
viewsLast lastInsertId ID
Good afternoon Guys I’m trying to get the ID that was entered by my class but unsuccessfully. The examples I found none worked. If anyone can help, thank you. public function…
-
1
votes1
answer33
viewsjQuery counting automating ID’s
So, guys, I have a schematic here like FAQ that the site administrator who registers the Faqs. Each new registered question generates two new Ivs: <div>Pergunta1</div>…
-
1
votes3
answers2919
viewsDefine multiple "id" in an HTML tag
HTML allows to define several class in a single goal. Interestingly I tried to do the same, trying to define several id in a tag : <div id="id1 id2 id3">Tester plusieurs id</div> Didn’t…
-
1
votes1
answer29
viewsJavascript, a null(empty) id can be returned?
I’m wondering if it’s possible to return one id which has been removed as I want to get the same and remove the id="", and then click on a button for example, to put back what was before. (Goal) 1•…
-
1
votes2
answers413
viewsHow to add css to all elements whose id contains "..."?
I have several elements whose id contain, for example, "elem", may be "%elem" or "elem%", may have characters before the String elem as after or before and after ("%elem%"). And I would like to add…
-
1
votes1
answer89
viewsthis. $. id only returns Undefined
I’m using Polymer 2.x, I’m trying to do a pre-load for the page, I made a div with a load gif and I’ll take it with setTimeout... But in the script when I use this. $. load it returns Undefined.…
-
1
votes2
answers578
viewsReceive POST ID and play to Location via GET
I need to get the ID of the entity that has just been registered. Only it will be played to another screen, to be registered other information. I would like to know how I can get the entity ID when…
-
1
votes1
answer96
viewsHow to have a unique id and then recover that id on the php page to write to the database
Hello, I created these functions that create new multiple choice questions automatically on my page. I can create as many questions as I want, and in those answers I can have as many answers as I…
-
1
votes3
answers737
viewsSave auto_increment id of a table to another table in the same file
I want the value of ID automatically generated in auto_increment in the table wpne_posts is saved in another table called wpne_postmeta The INSERT code of the first action is: mysqli_query($con,…
-
0
votes1
answer1113
views -
0
votes1
answer52
viewsHow do I send an ID information via email?
I have a form, it has the following line: <span id="idTaxa"></span> This line carries the delivery fee data, so far so good, but I need to send this information by email and I’m not able…
-
0
votes1
answer190
viewsCRUD U cannot get the ID and edit the Update
Folks I need a light to unwind a TIMESHEET. I have the following code. <form method="post" action="includes/input.php"> <button type="submit" class="btn btn-primary"…
-
0
votes1
answer292
viewsUse of Lastinsertid() more than once
I need to use lastInsertId() more than once in my application. Follow an example of such an event: <?php //CONEXÃO COM O BANCO DE DADOS $pdo=new…
-
0
votes1
answer220
viewsValidate form with equal name[] and id
I have a dynamic form, where can appear several textarea, and by default, these textarea has the same id and the same name, however, the name is being sent as array (name="nomecampo[]"). I wanted to…
-
0
votes1
answer72
viewsString in findViewById
Hi, I was wondering if you could use a string in findViewById. I have an app with various imageview that when you need to call an Internet to the camera phone. So that I don’t need to put this Input…
-
0
votes1
answer1081
viewsError: java.lang.Illegalargumentexception: id to load is required for loading
I am not able to save data in the database. I created a generated id to customize the primary key in the BD. The field is called id and he’s a String. I made a test class and it’s working, but when…
-
0
votes2
answers481
viewsDoubt - SQL update from PHP form
I have a table where columns 1 to 5 are fixed data that I feed SQL and it appears the listing on the WEB page. On this WEB page I have a form in which the user must answer 3 questions, in inputs in…
-
0
votes1
answer264
viewsFirebase ID count - Android
In my application, I have an entity called Game which has, among other attributes, a ID. I need that each time this entity is instantiated the ID is incremented + 1. This works until the application…
-
0
votes2
answers465
viewsComponent ID does not appear in Mainactivity
The problem is this, I add a component in my Activitymain, a button for example, but when I go to do the findviewById(ID) of the component, it does not show his ID in Mainactivity, it was working…
-
0
votes0
answers26
viewsProblem with floating menu and ID
Greetings! I’m making a website and created some sections each with their respective id. It turns out that the page has a floating menu that accompanies the whole navigation. I made a link in the…
-
0
votes1
answer59
views -
0
votes1
answer89
views -
0
votes1
answer236
viewsJava @Generatedvalue + SQL server NEWID + Hibernate
I have a table that has ID defined as CREATE DEFAULT ID_Tabelas AS NEWID(), that is, even if I use an Insert without the key, it will be generated automatically. How to make Hibernate recognize that…
-
0
votes1
answer89
viewsDifference between versions of the uuid Python package
I need to create unique Ids and for this I will use the package uuid. However, when it came time to import I was wondering which version to use: Is there a reasonable reason to have so many…
-
0
votes0
answers20
viewsWhat is the role of get before a function?
I am a beginner in the Back-end, and I am in doubt in a code that was listed in the class, I would like to know what the get before function id() const sequence = { _id: 1, get id(){return…
-
0
votes1
answer28
viewsDeactivate the Submit button for a certain time
Is it possible to do 1 Ubmit per day by date time of the bank? Ex; the iduser do one post per day? grateful!
-
0
votes2
answers292
viewsHow to use @Mappedsuperclass @Id with @Sequence Individual - Hibernate oracle
I need to solve a question of using inheritance and sequences with Hibernate and Oracle. I’m using Maven with: hibernate-core 5.1.5.Final hibernate-entitymanager 5.1.5.Final hibernate-validator…
-
0
votes1
answer118
viewsHow to recover data using Firebaserecycleradapter that has automatically generated Ids?
am having an error using Firebaserecycleradapter, at the time of recovering the data from firebase presents this error: "com.google.firebase.database.Databaseexception: Expected a List while…
android firebase android-recyclerview id firebase-databaseasked 6 years, 1 month ago djalmafreestyler 194 -
0
votes1
answer66
viewshow to capture an id dynamically and sequentially in postgresql?
It refers to an audit table that I am creating, the objective in question is to record the fields of the table in question. But I can’t capture id ex: create or replace function…
-
0
votes1
answer18
views -
0
votes2
answers76
viewsPHP+MYSQL file filter
Good afternoon this is my first post here, so I apologize if I’m repeating a question, let’s go to error have a registration application that I’m trying to implement file upload,below follows the…
-
0
votes1
answer44
viewsCSS of different Ids for the same Classes
How can I apply the same attributes and the same classes but with different product ids? The following code is working but I think we can simplify this CSS .postid-2201 .product .summary .cart…
-
0
votes1
answer132
viewsHow to recover firebase keys? Javascript
Good evening, I have the following data structure: I need to store all these Ids that are children of visits in an array to later create a loop to search for the data that each of these Ids has, but…
javascript web-application firebase firebase-database idasked 4 years, 4 months ago LEANDRO DA SILVA 121 -
0
votes1
answer140
viewspass an id into the modal in React
EDIT: I have a crud in React, and in it one of the buttons is to delete a user. When I click delete, open a modal to confirm, below the button, sending the id to be deleted: <button…
-
0
votes0
answers65
viewsPick up dynamic button ID inside the PHP loop with Javascript and/or Jquery to Open Modal Without Bootstrap
I need to take the dynamically generated sequential Ids from the PHP loop to open a Modal without bootstrap. I have tried several things I saw on the internet, I come here to try something so that…
-
0
votes2
answers54
viewshow to update id
someone can help me update the ID in this code? public function Editar_Cliente(){ $dados = $this->DadosClientes; $id = $dados['id']; $nome = $dados['nome']; $cpf = $dados['cpf']; $email =…
-
0
votes2
answers47
viewsPassing id to pdf printing with cakephp3 and tcpdf
Personal I am generating reports in pdf and I am with the following problem, I need to set the id of the volunteer to print the pdf with the data of the volunteer, I tried as follows by the link:…
-
-1
votes2
answers1190
viewsHow to assign a java variable to Document.getElementBy Id
I have the following code below, where I want to store the value of the variable contained in document.getElementById, which comes from input, and which should be "text". This line of programming…
-
-1
votes1
answer50
viewsCatch id auto increment of two joined tables (INNER JOIN)
Let’s see if I can explain at first... have two tables [topics] and [notification] I joined these tables with INNER JOIN to get the data of both, so far so good... but when I need to select the [id]…