I've been working on a custom page in Sitecore over the holidays, and I've noticed an issue where Sitecore removes JavaScript lines from the editor.  Here's an overview of my current scenario:   I add Javascript to the page. I save, check...
I'm using UploadProcessor to block specific file uploading into MediaLibrary. Everything is working good and I can see the alert Sitecore's message. But, Sitecore's error message is not really user-friendly "One or more files could no...
I got a problem for a website I was working on. A WebMethod is called from a JavaScript function:  var ajaxOptions = {     url: "/layouts/foobar/Foo.aspx/GetBar" } $.ajax(ajaxOptions).done(function(result) {      loadResult(result, a); });...
Following javascript is not working in page editor mode:  Page.ClientScript.RegisterStartupScript(this.GetType(),"script","<script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js\"></script><script...
I am using Sitecore 7.2 with Web Forms for Marketers 2.4. Using wffm form designer I created a form that has a droplist in it. I want to be able to hide or unhide another field in the same form based on the selected value of the droplist. Through my...
I need to put span tags around first word in a line. I used the below Jquery which is working fine in sitecore standard mode.  $("body").has(".widget h2").addClass("standard-mode"); $("body").has(".scLoadingIndicat...
I'm not sure what I'm doing wrong but the Google Custom Search I'm setting up on this site I have is not working the way I need it to. What I want is for the results to display within a page, and while the search takes me to the page, the...
For a recent project, we are using Cycle2.  I've upgraded to the latest version. We are using Sitecore to render content.  No matter the approach I take (below), I cannot get autostop to function.  We have 2-3 slides per slideshow, and we want it...
I have a controller with a function ShowEvents(EventCategory eventCategory). Is it possible to call this function from client-side JavaScript? I know that I can retrieve items from the database using the Sitecore.Services.Client (SCC), but is it poss...
I'm using Sitecore 8 Update 2 to make a page where people can leave some personal information. If the user is logged in the information is filled in for them. ( Standard mvc 5 form )  I added a WFFM ( 8.0 rev 141217 ) login form ( if succesfull t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.