Skip to main content
added 128 characters in body
Source Link
user10
  • 61
  • 1
  • 9

I have two jquery script. when one script works, the other one does not function and vice versa. Intially, I thought it is because both scripts had same function name etc. I changed the variable name and everything. It still doesn't work. Both of the scripts uses promoted links but different promoted links not the same one. Attached is the CEWP file.

  When I delete the first line of the script in a staging environment, it works, however, it doesn't on the production environment? enter image description here

enter image description here

I have two jquery script. when one script works, the other one does not function and vice versa. Intially, I thought it is because both scripts had same function name etc. I changed the variable name and everything. It still doesn't work. Both of the scripts uses promoted links but different promoted links not the same one. Attached is the CEWP file.

 enter image description here

enter image description here

I have two jquery script. when one script works, the other one does not function and vice versa. Intially, I thought it is because both scripts had same function name etc. I changed the variable name and everything. It still doesn't work. Both of the scripts uses promoted links but different promoted links not the same one. Attached is the CEWP file. When I delete the first line of the script in a staging environment, it works, however, it doesn't on the production environment? enter image description here

enter image description here

Source Link
user10
  • 61
  • 1
  • 9

Does one script override another script in sharepoint 2013?

I have two jquery script. when one script works, the other one does not function and vice versa. Intially, I thought it is because both scripts had same function name etc. I changed the variable name and everything. It still doesn't work. Both of the scripts uses promoted links but different promoted links not the same one. Attached is the CEWP file.

enter image description here

enter image description here