Simple Javascript/ASP.NET/AJAX demo

Demonstrate the Recommendation ("Like") functionality that is common on discussion boards, using AJAX, Javascript, ASP.NET, and SQL Server.

## Deliverables

(1) Create an html page with several "Recommend" links, each with it's own unique 8-digit integer identifier. We are simulating a discussion page with multiple messages, but you only need to include the Recommend links. I assume you will want to flag them with something like

<a><span id="R44040444">Recommend</span></a> : 4 Recs

<a><span id="R44040447">Recommend</span></a> : 1 Rec

<a><span id="R44040449">Recommend</span></a> :

within each <a> is <a onclick:[url removed, login to view](44040449)></a> or however the correct syntax is!

The "4 Recs" is a completely separate text field that is not necessary adjacent to the Recommend link.

Each message also has "1 Recommendation" or "N recommendations" or "blank" if there are no recommendations.

The 4 Recs, 1 Rec are the existing Recommendation counts. Notice the third example has no recommendations and is completely blank.

(2) Write the javascript script to handle the recommend function

The script should use AJAX to call an .ASPX link, which invokes an MSSQL stored procedure

(3) Write the server ASPX code to handle the AJAX and call the stored proc

(4) Write a dummy stored proc that simply indicates success

The javascript then changes the "Recommend" link to <b>"Recommended!</b>" without the <a></a> tag (so you can't click on it again)

On receiving notification of success, the javascript should also increment the corresponding "rec" count. Again, this may be entail going from [blank]

to "1 Rec" or from "1 Rec" to "2 Recs"

Please write the low-level javascript as succinctly as possible, but DO NOT USE A LIBRARY like Jquery as I plan to add this code inline to an existing page.

Habilidades: .NET, ASP, Javascript, MySQL, PHP, Arquitetura de software, Teste de Software, SQL, Hospedagem Web, Gestão de Site , Teste de Website

Veja mais: php ajax sql, javascript code library, html 5 syntax, demo html 5, asp net need html, ajax php .net, jquery, using ajax, simulating a simple, simple javascript, rec, ProC, html ajax javascript, asp jquery sql, javascript multiple, jquery ajax message, sql javascript, javascript net sql, ajax javascript php, mssql stored, javascript click tag, message simple text, net sql script, jquery write html, function stored procedure

Acerca do Empregador:
( 45 comentários ) United States

ID do Projeto: #3032392

Concedido a:


See private message.

$25.5 USD em 3 dias
(23 Comentários)