Skip to main content
1 vote
0 answers
206 views

Is it possible to set title attribute and value to the HTML tag on the login page?

As of known Wordpress 5.2.0, login_headertitle has been deprecated and it is suggested to use login_headertext instead. However, I like to display a text when the login image is hovered on the login ...
Habip Oğuz's user avatar
  • 1,203
-1 votes
3 answers
118 views

jQuery Inverse of Selection

Give the code below, I want to select only those divs that have a data-PType attribute containing ABC or DEF or GHI. In the listing below then, I want to select divs with ids 1, 3 and 5. I also need ...
Tom Baxter's user avatar
  • 2,236
1 vote
1 answer
882 views

Callback to confirm that "SRC" attribute is set in IFRame

Need to show the popup only when the data is loaded inside IFrame successfully. Currently popup gets visible even if the source of IFrame doesn't get loaded. Here is the code snippet: $('#myIframe')....
Pranav Kumar's user avatar
1 vote
2 answers
10k views

How to target the event that you click and use for offset

I have several div elements. On the mousedown event I am getting the elements attribute that I clicked on and then using Jquery offset method, I can't seem to trigger the $(elt) properly, so that it ...
Chris Tarasovs's user avatar
0 votes
1 answer
733 views

Loading meta data from another page using jQuery

I'm trying to use the jQuery load method to grab some meta data from another page and insert it in a <div>, but I'm a little stuck. I'm using something similar on the other page in which I grab ...
Aaron Gilmore's user avatar
0 votes
2 answers
23 views

Add specific attribute Jquery

I want to add an attr data-columns into <div id="grid"> Like this : <div id="grid" data-columns> I try it but it does not work : $('#portfolio').attr("data-columns"); Thanks for your ...
Corentin Branquet's user avatar
0 votes
3 answers
51 views

jQuery - update image url only folder

How can I update, Image URL only some part of it... For Eg: I have 2 folders, if images coming from lenovo folder, I want change that folder to samsung <img src="images/lenovo/abc.jpg"> to <...
Reddy's user avatar
  • 1,497
2 votes
1 answer
551 views

AngularJS ng-repeat: Change Array

I want to change categoryAlpha into a different value (say, into categoryBeta) in the following HTML + AngularJS: <div ng-repeat="x in categoryAlpha | limitTo:quantity"> <previews>&...
Chihuahua Enthusiast's user avatar
2 votes
1 answer
378 views

jQuery's attr(...) in function parameter is undefined

I'm using a jQuery plugin called webuiPopover. It adds a popover to links. When the user hovers a link, the content of the popover is fetched through AJAX. This requires a certain url with appropriate ...
Bruno Vandekerkhove's user avatar
3 votes
1 answer
5k views

Disable text input change but take it with its value in jQuery

I am filling textbox elements with some data come from database. I am using the same form for different roles. Some roles can update these values but others cannot. So, I want to disable them for edit....
JoshuaJeanThree's user avatar
-1 votes
3 answers
303 views

jQuery change all attributes within a form to something else

I have a form with form elements such as follows: @using (Html.BeginForm("Edit", "UserProfile", FormMethod.Post, new { id = "EditUserForm", @class = "form-horizontal form-bordered" })) { <div ...
Zapnologica's user avatar
  • 22.6k
1 vote
2 answers
487 views

jQuery change images on links hover

I have a problem with a code below. Somehow I'm not able to change image background using jQuery script. HTML code looks like: part to display an image: <div class="group-image img-responsive img-...
user avatar
-2 votes
1 answer
94 views

How to create elements of form using jquery

My code is <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"> </script> &...
user3883296's user avatar
0 votes
2 answers
61 views

Picking and calling original css with data() and attr() works in Firefox, but not in Opera and Chrome?

I want to be able to reset draggable div to it's original position after dragging (jquery ui draggable()) on some event in jquery. I did this: $('#nav').draggable(); $('#nav').data({'x': $("#nav")....
astx123's user avatar
  • 85
-2 votes
6 answers
88 views

Is it possible to get all elements which have a specific value into any type of attribute?

I want to get all elements in an HTML Dom, which have any attribute with the a specific value. For Example - <ul style="width:150px;" id="RadioButton1"> <li style="width:150px;"><...
Ishan Jain's user avatar
  • 8,221

15 30 50 per page