Questions tagged [javascript]
The javascript tag has no summary.
137 questions
0
votes
0
answers
730
views
TypeError: form is null
I'm using v5.4.1 Expression Engine. I have a form that will take a user's email input and compare it to the user's email to see if they match. So far I have the form set up and some Javascript on top ...
1
vote
1
answer
95
views
Admin Javascript not loading certain scripts
It appears that something has changed in the last two weeks that is not allowing the admin javascript to load when updating or creating entries of specific channels because of the field types ...
0
votes
1
answer
310
views
Error in Control Panel Channel Entries Pages: "EE.grid is not a function"
Using EE 5.2.1
I've been working with a custom module for the last few days and haven't been in the control panel so I'm not sure when this problem started but I think it has to do with me making a ...
0
votes
1
answer
316
views
Javascript for scrolling calendar
I'm trying to implement this:
https://www.viget.com/articles/building-an-expressionengine-mini-calendar-scroller/
However comments are closed and the contact link goes to an agency. Help! I'm clearly ...
1
vote
0
answers
51
views
URL Title Ajax Validation
I'm running an install of EE v3.5.14 and I'm trying to replicate some of the functionality of the old "Title Master" add-on, but I'm hitting a snag.
I've got my extension to hook to the ...
0
votes
1
answer
83
views
issue with cp_js_end not running on multiple extensions
I created 2 little extensions for EE 3.5.11 that use the hook cp_js_end and they add JavaScript to each page in the control panel. The problem is that once one runs the other one does not, any idea ...
0
votes
0
answers
62
views
Including a javascript ad within an entry?
Is there any way to add a javascript within an EE entry? I wanted to use one of the new Amazon affiliate ads within a post to easily be able to present a selection of products specific to that post. ...
0
votes
1
answer
203
views
Where can I find the HTML, CSS, and JavaScript files in my dashboard?
Hello ExpressionEngine community,
My available options in the bar along the top when I log in are:
Content
Members
Site Control
New Entry
Edit Entry
Home
My best guess was "Edit Entry", but I get a ...
0
votes
1
answer
76
views
How to use javascript "label" in channel entry loop?
I have code that looks like
<label class="city"></label>
that uses javascript to indicate the selected city. So when "Anchorage" for example is selected from a dropdown at the top of ...
0
votes
1
answer
89
views
Why learn Javascript? [closed]
I am new to web development. I have familiarity with CSS/HTML/Wordpress and Expression Engine Content Management system. I want to be a well rounded professional web developer desperately, and trust ...
2
votes
1
answer
2k
views
Multiple/dynamic flexsliders for photo gallery
I'd like to run multiple flexsliders on a page, but in JS, there's only a reference to #carousel and #slider tags. I can use {count} or some other variable next to id to create a unique id, but not ...
1
vote
0
answers
325
views
template variables not parsing inside javascript
I have some javascript in a template and when I try to use template variables inside the ... tags, the template variables are not parsing.
All other template vars on the page are parsing as ...
0
votes
1
answer
2k
views
Prevent encoding of ampersand in a single entry?
I am trying to embed a Facebook video in an EE channel entry.
I find that when the entry field is formatted as either Markdown or XHTML EE is rewriting part of the javascript in a way that makes the ...
0
votes
1
answer
220
views
AJAX Call on ExpressionEngine Install
$(document).ready(function () {
$.ajax({
type: "POST",
url: "/ajax/customcss",
data: {channel: currentChannel},
})
.done(function( data ) {
var jsonObj= JSON.parse(data);
...
0
votes
1
answer
382
views
Custom error messages with Freeform Pro ajax form
I'm using the AJAX form example for Freeform Pro as described here;
https://solspace.com/docs/freeform/form/#ajax_validation
However, the error messages are not very useful and simply say "Required ...
0
votes
2
answers
218
views
Wrap <ul> around every x number of <li> in category_archive entry loop
I'd like to use something similar to a switch or plugin like Grouper with category_archive, to wrap a <ul> around every 6 <li>, but I don't see anything that works. Is jQuery the best way ...
0
votes
2
answers
261
views
Infinite scroll within conditional
I have Derek Hogue's solution to infinite scroll working, with magicspon's fix for the issue of preventDefault being ignored:
Infinite scroll and pagination on ee?? Anyone has this working?
This ...
4
votes
1
answer
718
views
Call to undefined method EE_Javascript::generate_json()
I'm currently running ExpressionEngine v2.10.1. Two plugins currently throw the same error. Seems like something has been depreciated / is broken. The two plugins are:
Campaigner 4.5.0
Charge 1.9.2
...
0
votes
2
answers
430
views
Disable New Relic Script for one template
Is there any way to disable the New Relic script tag from being output in a single template?
EllisLab's docs say you can disable it via the control panel overall, but I really need it removed just ...
0
votes
1
answer
136
views
JqueryUI appears to be very old version, how to update?
Been building a new form with Expression Engine 2.9.2, however when trying to use the datepicker, it seems to be using a very old version of JQuery UI, so old that it only actually functions at all in ...
4
votes
1
answer
1k
views
Ajax Pagination
I'm trying to use this script to AJAX load paginated entries in EE. There may be a far simpler way to do it though.
This script works, but replaces the current 10 entries with the next 10 entries, ...
1
vote
3
answers
2k
views
Delete Assets input fields in a front-end form
I have the following in a Zoo Visitor Update form:
<label class="control-label" for="member_photo">Performer / Band Photo</label>
<input type="hidden" name="member_photo[]" value="...
0
votes
1
answer
92
views
Freeform Pro Form with Submission Progress
I have a freeform pro form that is using a piece of javascript to provide a progress indicator once a form is submitted. Idea is seen here: http://tympanus.net/Development/ProgressButtonStyles/
...
0
votes
1
answer
2k
views
Dynamic Content In Fancybox Not Working
I have a listing of staff member that I want to have a link that pops up a bio via fancybox. I have no problem getting this to work using static id's, but when I try to do it dynamically via a custom ...
0
votes
1
answer
169
views
Using {freeform:mp_data:FIELD_NAME} to pre-fill another field on multipage form
Using FreeForm Pro. I have a 2 page multipage form set up. On the first page users insert their address details. On the second page of the form I want to have a check box and if the user checks the ...