The beauty of json is that you can transfer alot of different data in
an organized way. You can very easily send back success/failure status
along with the html.
success: function(response) {
// Response was a success
if (response.status) {
Or better yet use the tab enable/disable functionality.
.tabs( 'enable' , index )
.tabs( 'disable' , index )
On Jan 8, 5:40 am, URBY wrote:
> Hi i was wondering if it would be possible to lock out other tabs so
> the user is stuck on one ..until a user hits a button.
>
> For example an Admin is
':checked').val();
> var detailDiv = $(buttonGrp).eq(0).parent().next();
> if ( radioValue == 'p' ){
> detailDiv.hide();
> }else{
> detailDiv.show();
> }
>
> }
> On Sun, Dec 13, 2009 at 17:55, Ibatex wrote:
> > Hi all
Hi all, I'm new here and new to jquery in general.
Question is how can I do the following in jquery, I'd like to have
access to jqueries effects and animations.
function togglePassFail(radioName) {
var buttonGrp = document.getElementsByName(radioName);
var radioValue;
//
4 matches
Mail list logo