Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amparo Oliver
th-app-java
Commits
c057b0e2
Commit
c057b0e2
authored
Nov 01, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
se eliminaron console.logs
parent
b4fafd3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
curriculumsearch/src/main/resources/static/main.js
+0
-2
curriculumsearch/src/main/webapp/jsp/postulante-form.jsp
+3
-3
No files found.
curriculumsearch/src/main/resources/static/main.js
View file @
c057b0e2
...
@@ -40,7 +40,6 @@ function agregarFieldExpierncia(){
...
@@ -40,7 +40,6 @@ function agregarFieldExpierncia(){
function
eliminarExperiencia
(
event
)
{
function
eliminarExperiencia
(
event
)
{
//eliminar del array
//eliminar del array
console
.
log
(
event
.
target
.
parentElement
.
id
.
split
(
"-"
)[
1
])
experiencias
[
event
.
target
.
parentElement
.
id
.
split
(
"-"
)[
1
]]
=
null
experiencias
[
event
.
target
.
parentElement
.
id
.
split
(
"-"
)[
1
]]
=
null
//eliminar en html
//eliminar en html
event
.
target
.
parentElement
.
remove
()
event
.
target
.
parentElement
.
remove
()
...
@@ -87,7 +86,6 @@ form.addEventListener("submit",(evt)=>{
...
@@ -87,7 +86,6 @@ form.addEventListener("submit",(evt)=>{
postData
(
'postulante'
,
serializeJSON
(
form
))
postData
(
'postulante'
,
serializeJSON
(
form
))
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
// JSON data parsed by `data.json()` call
location
.
replace
(
response
.
url
);
location
.
replace
(
response
.
url
);
});
});
evt
.
preventDefault
();
evt
.
preventDefault
();
...
...
curriculumsearch/src/main/webapp/jsp/postulante-form.jsp
View file @
c057b0e2
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
<!-- Bootstrap CSS -->
<!-- Bootstrap CSS -->
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin=
"anonymous"
>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin=
"anonymous"
>
<title>
Hello, world!
</title>
<title>
Postulante
</title>
</head>
</head>
<body
class=
"container"
>
<body
class=
"container"
>
<h1>
Hello, world!
</h1>
<h1>
Curriculum
</h1>
<form
name=
"postulante"
method=
"post"
>
<form
name=
"postulante"
method=
"post"
>
<div
class=
"mb-3 col-5"
>
<div
class=
"mb-3 col-5"
>
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
Agregar Experiencia
Agregar Experiencia
</button>
</button>
<div
id=
"experiencias"
>
<div
id=
"experiencias"
>
</div>
</div>
<button
type=
"submit"
class=
"btn btn-primary"
>
Submit
</button>
<button
type=
"submit"
class=
"btn btn-primary"
>
Submit
</button>
</form>
</form>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment