Jquery and Javascript loading issue..

Hello All,

im using jquery ui tabs to to view 5 user input form. each tab having a iframe tag which load the newform.aspx page of each list.

i did some jquery validation on each page. when the page loads..  pages without validation can render clearly, where as coming the pages having jquery validation didnt render properly.. when i navigate to pages having validation.. RightClick on the page  click refresh.. then the page load porperly..

when i see error on addressbar : 

how can fix. to render the validation pages also.. with out clicking of refresh button each time..

Thanks in Advance..

July 2nd, 2013 3:15pm

Once the page loads, press F12 to Open IE in debug mode, Navigate to the Script tab and within the Console window on the right hand of the ebugger try and identify what the issue is. I am presuming that the debug.js was written by you? Seems to be some issues with the parameter being passed. I am sorry but I would need more details as in what forms the part of the js created by you and what error does the console window shows.

Thanks,

Vishal

Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2013 3:44pm

Hi Vishal,

Thanks for reply..

i found that the following page giving error(screenshot)..

when i navigate to that page...

i found this code::

(C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\SP.UI.Rte.debug.js)

function ULSkay(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.UI.Rte.debug.js";return o;}
Type.registerNamespace('CUI');
Type.registerNamespace('CUI.Page');
if (typeof(CUI.Page.PageComponent) == "undefined")
{
  CUI.Page.ICommandHandler=function(){};
  CUI.Page.ICommandHandler.registerInterface('CUI.Page.ICommandHandler');
  CUI.Page.PageComponent=function(){};
  CUI.Page.PageComponent.prototype={init:function(){},getGlobalCommands:function(){ULSkay:;return null;},getFocusedCommands:function(){ULSkay:;return null;},handleCommand:function(commandId,properties,sequence){ULSkay:;return false;},canHandleCommand:function(commandId){ULSkay:;return false;},isFocusable:function(){ULSkay:;return false;},receiveFocus:function(){ULSkay:;return false;},yieldFocus:function(){ULSkay:;return true;},getId:function(){ULSkay:;return'PageComponent';}};
  CUI.Page.PageComponent.registerClass('CUI.Page.PageComponent',null,CUI.Page.ICommandHandler);
}


Type.registerNamespace('RTE');

RTE.Rectangle = function() {}
RTE.$create_Rectangle = function() {ULSkay:;  // ON THIS LINE ERROR
    return new RTE.Rectangle();
}

RTE.Alignment = function() {}
RTE.Alignment.prototype = {
    left: 0,
    right: 1,
    center: 2,
    justify: 3
}

im having very less knowldge in jquery/ javascript..

How can i fix it..

Regards,

July 3rd, 2013 9:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics