1
I have a Javascript code that creates HTML fields on an Asp.net page. How do you call the function to the Code Behind and return to the created fields? If I could use ASP.NET in this case, I would have to create several Textbox
and manipulate the value on the server.
<input type="text" onblur="pesquisa(this.name, 1)" maxlength="10" size="10" value="" name="contrato1" onkeypress="FiltraTecla(event);">
Have you thought about using jQuery+Ajax?
– Felipe Avelar
Actually to pick up the content I must give a request within the page, but my problem is how I call the search function that is within the codebehide
– Germano Sampaio
Precisely, with Ajax you must achieve your goal. (:
– Felipe Avelar
You could post an example?
– Germano Sampaio
What exactly you need to create?
– Leonel Sanches da Silva
@Ciganomorrisonmendez I’ve already created a series of textbox inputs via javascript. I need to retrieve the typed information inside the codebehide and then return the result to the rest of the components.
– Germano Sampaio