jQuery vs Webpart

Filed under:IT,SharePoint — posted by Jason MacKenzie on March 24, 2010 @ 4:13 pm

I was recently presented with the following issue. We need a web part that will allow someone to enter their employee id and update their phone number which will then be posted back to the HR system. Web part?? Come on!

This can be accomplished with jQuery, some nice HTML formatting and…..oh wait…that’s it.

Anyone that knows jQuery will know that there are cross-domain scripting issues that we have to deal with by design. So we may have “develop” and HTML page that uses jquery and ajax to do the calls and host it on the web server that serves up the required web services.

Code to follow but give me a break. You could do this in a traditional web part deployed as a feature and go through the entire SDLC or write some simple HTML and call the pre-existing services.

Code to follow.

Tell me I’m wrong please.

Bookmark and Share
VN:F [1.9.3_1094]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.3_1094]
Rating: +3 (from 3 votes)
jQuery vs Webpart, 10.0 out of 10 based on 2 ratings

Popularity: 23% [?]

Share and Enjoy:
  • Facebook
  • Digg
  • del.icio.us
  • Sphinn
  • Mixx
  • Google Bookmarks
  • StumbleUpon

zero comments so far »

Please won't you leave a comment, below? It'll put some text here!

Copy link for RSS feed for comments on this post or for TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)




image: detail of installation by Bronwyn Lace