Could you help me with this?
I have the following code in jsp,
<c:out value="${fn:rep lace(getData, '@something', '')}"
How do I write it in JavaScript?
Basically how can we replace <c:out> in javascript?
User Profile
Collapse
-
you want to say,
("#divID").appe nd("#divID")
Is it the way to do it?Leave a comment:
-
-
no the URL controller that will be executed, will return the Object.Code:myFunction(){ $ .ajax({ type:POST', url : 'myURL',
I already have a table,
...Code:<fieldset> <table> <tbody> <c:forEach var="box" items="${boxItems}"> <tr>Leave a comment:
-
Ya, but what I want to know is, like I mention the URL in the AJAX call which calls the corresponding controller function. Now that function sends an Object as a result, and I want only certain fields of that object to be merged with the original html table that was created during the page loading. How do I do that?Leave a comment:
-
Show More button pagination, AJAX/jQuery/JAVA
I have a function, say A() that calls some elements from the database depending on the range provide.
What I want to do is, on the UI, there is a 'Load More' button, which when clicked, displays next set of items, by calling the above function A() by making an AJAX call using jQuery.
I went through some forums, but was not able to get a clear understanding of how to do it.
Thank you
No activity results to display
Show More
Leave a comment: