4
votes
EE JQuery reference
I'm sure there are many ways to handle jQuery and EE but in my experience, for frontend work I tend to not use the jQuery provided with EE and just link in the version that I want to use.
I always ...
- 589
2
votes
Accepted
Jquery datepicker channel form
Are you including the jQuery datepicker file manually? Because channel form includes one as well. To disable channel form's datepicker file and initialization, include the include_assets="no" ...
- 688
2
votes
Accepted
How do include a file path in a jQuery statement?
The url title is not specified in your script. I would recommend putting the url title in a data attribute in the html code.
<a data-urltitle="{url_title}" class="fancybox project {categories}{...
- 1,617
2
votes
Remove inline CSS and size attributes from user-inputted iframe?
You aren't able to edit an iframe's content, true. But the iframe's itself still belongs to your page, and you can edit the attributes. I just tested and was able to do something similar to:
var i = $...
- 418
2
votes
Accepted
How can I get the Freeform (free v.) Recipient Name value into a notification template?
Using your fiddle, use this as your JS :
var newVal = [];
$('select[name="the_product"]').change(function(e){
$('input#freeform_product').val('');
$('select[name="the_product"...
- 2,418
2
votes
Conflict with Twitter Bootstrap
This is because Calendar uses ExpressionEngine's built in jQuery UI bundle to build the mini calendar popup. You will probably have to use some combination of the two with jQuery's noConflict method: ...
- 6,139
1
vote
1
vote
MX Google Map Control Panel Error
As the site is running over https I had to modify the URL in the following line of code to https.
fx.mx_google_map.php (Line 135)
ee()->cp->add_to_foot('<script type="text/javascript" src="...
- 155
1
vote
Accepted
ExpressionEngine code being used with JQuery
There's a few posts around on the subject but you could start with adding a config override either via the CP or if you're using an Override you should only need:
$config['protect_javascript'] = 'n';
...
- 3,163
1
vote
Multiple/dynamic flexsliders for photo gallery
Easy peasy. Just create your unique ID's as you suggested, but give each carousel a common class.
$('.carousel').each(function() {
// this will loop over each carousel
var this_carousel_id = ...
- 5,900
1
vote
Jquery Freeform AJAX submission form error
By default, Freeform auto-detects if you are using AJAX for the form submission. AJAX requests will return errors and success mesages in JSON. If you wish to disable this, specify a value of no.
That'...
- 5,900
1
vote
Infinite scroll within conditional
Don't use the curly brackets and quotes on the segment in your conditional. Write your conditional like this:
{if segment_2 == ""}
Edit:
your closing div for entry-container is missing the last ...
- 501
1
vote
How to use page transitions with Expression Engine
This is a completely front-end issue, as Max Lazar said. There is no way EE template conditionals have anything to do with browser presentation frameworks, only generated content and structure. If you ...
- 5,900
1
vote
EE 2.10.1 jQuery & jQuery UI update
Ok, To update the jquery reference globally you can do it by redefining the constant PATH_JQUERY. This definition is defined in the file /system/expressionengine/modules/jquery/mod.jquery.php, lines ...
- 2,418
1
vote
On Form submit save values to cookie to repopulate form again - FreeForm
You'll have to write an extension which uses the freeform_module_insert_end hook to save the cookie (or cookies, depending - cookie size is an issue, so maybe one cookie per field?).
Something like:
...
- 17.4k
1
vote
Delete Assets input fields in a front-end form
Should use 'change' event instead of click. Cause user may not select any new file, then it will remove the existing file.
<img src="{url}" />
<input type="hidden" name="member_photo" value="...
- 11
1
vote
Delete Assets input fields in a front-end form
Darren used a button, which should work too, but here's the jQuery I came up with to remove the name attribute value:
HTML:
<label class="control-label" for="member_photo">Performer / Band ...
- 626
1
vote
Accepted
Delete Assets input fields in a front-end form
I think you need to output a delete button/checkbox alongside each image/input. You can then use jQuery to remove that img/input from the DOM so when you submit the form it's no longer there.
Maybe ...
- 203
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
jquery × 124javascript × 28
ajax × 23
safecracker × 13
ee2 × 10
expresso-store × 9
solspace-freeform × 9
control-panel × 9
forms × 7
channel-entries × 6
matrix × 6
validation × 6
assets × 4
add-on × 4
file-uploads × 4
pagination × 4
google-maps-for-ee × 4
solspace × 3
php × 3
add-on-development × 3
custom-fields × 3
grid × 3
channel-images × 3
google-maps × 3
mx-google-map × 3