Moving existing divs
Hi All, I want to move existing divs below another div. This code is generated by Oracle APEX framework, hence not keen in adding ids. <div id="R118549394377418404_ig" class="a-IG"> <div style="z-index: -1; "><div style="position: absolute; transition: all 0s ease 0s; width: 200%; height: 200%;"></div></div> <div class="js-resize-sensor" style="direction: ltr; position: absolute; z-index: -1;"><div style="position: absolute;"></div></div> <div class="a-IG-header js-stickyWidget-toggle"
Problem with mouseover
trọng điểm Thẩm Mỹ She Spa Lily Maymac vốn nhỏ con thật chứ chẳng hề tiêu dùng ảnh ảo trên mạng đâu, chiếc chính là "hot girl môi tều" sở hữu chiêu chụp ảnh để lúc nào cũng gợi cảm và sexy nên mới khiến cho người ta bất ngờ lúc gặp ngoài đời. Để thực hành phun xăm môi khi không người dùng với thể tới thẩm mỹ viện Tiểu Yết tại số 88, nai lưng Duy Hưng, Cầu Giấy, Hà Nội. bây giờ Phú Quốc đã đặt tên thương hiệu đa dạng cho đặc sản độc đáo này là tiêu Phú Quốc” nhằm đảm bảo giá trị của sản phẩm này tương
Conflicting form ids
I have the following example where I can highlight the select values of a specific column. Sometimes I need to use two forms for the same column (hence the same form id), but it doesn't work when I try this. Is there another solution for this? My jsfiddle example: https://jsfiddle.net/1mt7ojL0/ As you can see in the example, Values.II form doesn't work.
i have two effects that superimpose, the over effect and indicated click tab
this is mi code thanks for our attention: https://pastebin.com/3TdvCBvS
Jquery card scanner activation, possible?
I'm posting this as a newbie and hope I'm not out of line, here goes. I have found a jquery card scanner script https://github.com/CarlRaymond/jquery.cardswipe also a jquery slot machine web app https://github.com/josex2r/jQuery-SlotMachine When a user taps a button the reels spin like a slot machine. I run a coffee shop, my aim is to issue "Coffee Membership" cards. I will display the juery slot machine in a tablet on my counter. The tablet will have a card reader attached. When a member pays
own (string) function via $.fn
I'm a C#.NET developer and in JS/jQuery I missing the... "String".Replace("old","new"); ...to replace all "old" substrings with a "new" substring inside a string. jQuery code: $(document).ready(function(){ alert(('Hello [WORLD]. How are you, [WORLD]?').strReplace('[WORLD]','Michael')); $.fn.strReplace = function(find,replace) { return this.split(find).join(replace); } } console output: [jquery-3.3.1.min.js:2] Uncaught TypeError: "hallo".strReplace is not a function
Undefined type error for variable - need help
I'm getting a type error: lastSelectedRow is undefined. What I'm trying to do is allow the user to select multiple rows of a table using Shift+Click. I was searching for an example and came across this article: https://stackoverflow.com/questions/17964108/select-multiple-html-table-rows-with-ctrlclick-and-shiftclick I implemented one of the examples with jquery. Here is the code I'm trying: j$ = jQuery.noConflict(); j$(document).ready(function() { if(j$) { //alert('Jquery loaded successfully...');
how to use bigint of sqlserver in javascript/jquery var.
hi, I am getting some data using ajax [json], but in javascript it does not support bigint data, becasue it is big. so please tel me some solution at javascript level. yours sincerely
Access table rows without column header row
I'm new to jquery and trying to learn how to traverse the DOM. I'm trying to access the rows of a table, but not the table row with the column headers. I have the following code: j$ = jQuery.noConflict(); j$(document).ready(function() { if(j$) { //alert('Jquery loaded successfully...'); } console.log(j$('input[id$=btnSearch]')); j$('input[id$=btnSearch]').click(function(){ console.log(j$('[id$=searchTable]')); }); }); I'm first checking for the search button on the page. Then I am adding
embedded jQuery Code of ajax load page?
I have an html file oldStudent.html That has the following jquery code : <script> $(document).ready(function () { $("div").each(function (index) { var idDiv = $(this).attr('id'); if (idDiv) { $("#" + idDiv).load(idDiv + "_v1.html"); } }); }); </script> Now in another page Student.html i am loading the oldStudent.html
Compare two separate files for similar elements?
Hi friends, I have two files. oldCourses.html and newCourses.html. oldCourses.html has elements <div id="courses-details"> <div> <div colspan="4"><b>2017 School Courses</b></div> </div> <div> <span>1.</span> <span>History</span> <span data-content-type="history" data-key="1" teacher-value="John"> John</span> </div> <div> <span>2.</span> <span>Sciences</span> <span i data-content-type="sciences"
Question about value
Wines From Rioja Khỏe Đẹp Thật Dễ Kem nền trước tiên tương hợp mang kỹ thuật Ultra HD hay còn gọi là kỹ thuật 4K được sáng chế dành cho lĩnh vực công nghiệp điện ảnh, mang lại làn da đẹp hoàn hảo, thiên nhiên trước ống kính. Mặt khác, mọi người cho rằng khi dùng chung 1 phương pháp trang điểm đẹp mắt sẽ giúp cho hình ảnh tư nhân có thể được bộ lộ 1 cách thức hoàn thiện và có dấu ấn biệt lập. thực hiện từ tối thiểu hai tháng để thấy được hiệu quả cải thiện. cùng lúc, nếu bạn muốn tạo điểm nhấn cho
How to make selector dynamic
Hi Friends I am very new to jquery and stuck with one problem. problem is I have two dropdowns and onchange event of first drop down i am populating options of second dropdown. then I have extended this functionality with add more option where i am adding both the drop downs again. But the problem is in ajax success method m appending options to specific select box how can I make them dynamic??
Next and Previous buttons in jquery image gallery
I want to code the next and previous buttons for my jquery image gallery. When i click on next button, it shows me the first image of the gallery and then it stops working for any other image. Can someone help me what i am doung wrong in my code? Please help? Below is jquery. <script type="text/javascript"> jQuery(document).ready(function () { jQuery('.item').click(function () { // Getting "src" attribute of the image that was clicked. var path
use .done in place of complet.
hi Deprecation Notice: The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks are removed as of jQuery 3.0. You can use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead. my doubt is does the above stmt says that follwing way of using will be depricated $.ajax({ url :"views/departments/create.cshtml", datatype: "xml", success: function( data ){ alert(data); }, global :true, error : function(data){
Want to call servlet
Hi All, There is a requirement to get image coordinate as image is clicked. At the same time, it should call the servlet by taking that image coordinates. Currently it is showing the coordinates on image click but not calling servlet.
Find count of occurrences of a key in an array that appears only once?
Hi i have the following array test ={ [id:1,subject:math], [id:2,subject:math], [id:1,subject:science], [id:3,subject:science], } how can I find the key that appears only once like.. [id:2,subject:math] , [id:3,subject:science]. I need to output the key id value 2 and 3. Thank you
Find a match in two dimensional array?
I have an array in the following format. test =[ [id:1,subject:math], [id:2,subject:math], [id:1,subject:science], ] what i basically want is when i am trying to push a new object in my array , i should check if the id subject pair already exits like [id:1,subject:math] should be inserted. So basically unique pairs are only to be allowed. Hwo can i loop through this test array to find if a match exits. Thank you in advance.
Communicating between two pages using jquery and ajax
Hi I am trying to pass data, namely through query strings, using jquery and ajax between two php files: In ecovib2d_adriant.php (calling program):-jquery in function changePic $(document).ready(function(){ $.(“Graphic_select”).change(function{ $.post(“watermark.php?Pic=“ + picname + “&Person=“ + personname); $.send(); }); }; In watermark.php: I get picname and personname via the query string and then put a watermark on the image and then construct a query string using ajax to pass back to ecovib2d_adriant.php
Prevent iOS keyboard push up
Hello there, I'm creating my first App with Jquery and I don't want iOS to push my app up when someone click's on a input field. I have searched the web and appearently iOS changes the scrolltop position. I have set the scrolltop to 0 when focus is on but my document is still being pushed. I've now created a workaround with a settimeout so my scroll position is restored to 0 but now you can still see the screen change position really quick. Does anyone know what event I can use so the scrollposition
jquery/ajax error capture
Hi All, Need some help with jquery/ajax error trapping. During Ajax sometimes sql errors are being thrown to front end & sometimes not. Could you pls let me know how to debug php from ajax calls by having some trace dumps, handle error try catch Thanks Sri
Invalid characters
Hi I am trying to check for invalid characters in two text areas in a form as shown below: 1. <textarea type='text' rows="10" cols="100" name="comment" maxlength="1000" id='comment' required /></textarea> 2. <textarea type='text' rows="10" cols="100" name="comment2" maxlength="1000" required id='comment2' /></textarea> I am checking for invalid characters via this jquery function: <script> $(document).ready(function Val(){ if (/[*?]/.test($('textarea').val()) { // do something alert("Invalid characters
Jquery core and Jquery Ui version compatibility
HI All, Can someone help me out how to find the compatible versions for jquery core and jquery UI? Any links would be helpful! Thanks!
Post Example with ContentType?
i think there's something wrong with this code. Instructions for the API say to set the Content-Type header of your request to application/x-www-form-urlencoded but i don't think i'm doing it correctly. $.post(
"../api.php?action=edit&title=Portal:TagDescriptions§ion=2&summary=Hello%20World",
{ Text: "Hello, world.",
token:"c30460d9159a5e2eccca60944ef286405b2393d1%2B%5C%5C" },
function(data) {
$('#lblDescription').html(data);
},
"application/x-www-form-urlencoded"
z-index and styling <audio> tag
Hi: does anyone know , before I start exploring: do applications such as jPlayer, mediaElement.js, and there must be others... do they actually allow for adding a z-index to the styling? there are examples where the container is given relative positioning, but no examples with z-index. Any suggestions welcome... cheers.
Use animate.css in Jquery with random effects
Dear Sir Pls http://jsfiddle.net/jaz7mvc2/14/ I am using https://fastcdn.org/Animate.css/3.4.0/animate.css at present I am using following script for animation $(this).animate({'opacity':'1'},1000); $(this).addClass('animated slideInLeft').show() ; Can I use/ apply the different effects randomly so that each div will be displayed with one of the following effects viz fadeInRight fadeInLeft fadeInDown slideInLeft your help will be appreciated slideInRight
Having problems using parameters of a function to display a message
the result of $("#"+nombrecampo) is displaying the parameters as strings and is not displaying the things on the following way: tipo="Medico" indice=2 clave=nombre $("#campo").html(Medico[2].nombre); Sorry for mi english, thanks!
delaying a css rotate
Hi, I want to rotate an element, but after other animations performed on that element with jQ. It's not working so far... css:@keyframes turn { from { transform: rotate(360deg); } to { transform: rotate(0deg); } } .turn { animation-name:turn; animation: rotating 2s linear infinite; } js: function doEl() { do_jQstuff(); setTimeout( function() { $(‘#el’).addClass(‘turn’) }, 4800 ); } what's missing? misplaced? cheers
Tree view
i an creating div dynamically and change id for div and bind tree with new tee but tree is not working. int dynamicalyID=1; $('.treegroup').append(''<div id=newID></div>); $('#newID').attr('id,newID+ dynamicalyID); ('#newID'+ dynamicalyID).tree({ primarykey:'id', datasource:record, )}; dynamicalyID++ note: if i use blow code then working but approch one for dynamically tree. ('#newID').tree({ primarykey:'id', datasource:record, )};
how to show many data in dingle row of gridview
$.ajax({ type: "POST", url: "test.aspx/GetChat", data: '{managerid: "' + m + '",clientid:"'+n+'"}', contentType: "application/json; charset=utf-8", dataType: "json", success: OnSuccess, failure: OnError, error: OnError, }); return false; }); function OnSuccess(response) {$("td", row).eq(0).html($(this).find("message").text()); $("td", row).eq(1).html($(this).find("direction").text());
How to wrap $.ajax.then() correctly?
Hi there, I'm new to this forum, hoping someone can help me out understanding promises and deferrals correctly. in a small hobby project i'm using an ajaxwrapper like this: var APIlib = { 'ajaxWrapper' : function (url, params) { return $.ajax({ type: type, url: url, async: false, data: JSON.stringify(params), }); }, }; loading this snippet first, in my following code i can use APIlib.ajaxWrapper("url", data).then(
Jquery Magnific Popup - not working
Hi ppl, I am trying to make Magnific Popup gallery. This is my code: <!DOCTYPE html> <html> <head> <!-- Magnific Popup core CSS file --> <link rel="stylesheet" href="magnific-popup.css"> <!-- jQuery 1.7.2+ or Zepto.js 1.0+ --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <!-- Magnific Popup core JS file --> <script src="jquery.magnific-popup.js"></script> </head> <body> <a class="test-popup-link" href="images/large_image_1.jpg">Open popup</a> <script type="text/javascript">
Time filter
Hi can anyone suggest how we use in between time filter on json object this is my JSON object [{"dep_time":" 8:35 AM","arr_time":"9:55 AM"}, {"dep_time":"10:00 AM","arr_time":"11:05 AM"}, {"dep_time":"1:00 AM","arr_time":"03:10 PM"}, {"dep_time":"12:00 AM","arr_time":"01:10 PM"}, ] i need to filter based on time. ex: find an object in between dep_time=08 am and arr_time = 11 am
need help?
function getMessageText() { return $('message').text; } document.body.innerHTML = '<div id="message">The message</div>'; console.log(getMessageText());
After each refresh, the previously selected row will be selected
Hi, I have a issue. I want after each refresh, the previously selected row will be selected. I have no idea for it. I tried localStorage but not work, maybe i'm wrong syntax. Help me! My code: $(document).ready(function () { setInterval(ajax, 150000); $('button').click(ajax); function ajax() { $.ajax({ type: "GET", url: "demo.json", success: function(result){ var output= "<table class='table'><tr><th>ID</th><th>Name</th><th>Type</th>"; for(var i=0; i<result.length-4;i++){ var ran = result[Math.floor(Math.random()*result.length)];
how to find links in nested iframes and append an on-click listener
I have a page that can contain any number of iframes, and those iframes can contain their own iframes, etc. (SharePoint 2013 web parts). I don't know the IDs of the iframes ahead of time and can't control that. I also cannot control the class names. The iframes DO all reside in the same domain, so that part won't be a problem. Is there a way to iterate through all of the iframes in a document, and all the children as described above, such that I can examine the links in each iframe and attach a "click"
I have problems to solve. Everyone help me.
Phun xăm môi là kỹ thuật khiến đẹp làn da môi, giúp môi bỗng nhiên hơn, đẹp hơn và điều chỉnh khuôn môi sao cho kết hợp có khuôn mặt. Đối mang kỹ thuật phun xăm môi pha lê được dùng bằng các nguyên liệu, máy chuyên dụng đến từ Hàn Quốc sẽ mang lại cho bạn làn môi xuất sắc, đột nhiên. xem thêm:[url=https://phunxam.com/ban-co-dang-thac-mac-phun-moi-gia-bao-nhieu/]https://phunxam.com/ban-co-dang-thac-mac-phun-moi-gia-bao-nhieu/[/url] kỹ thuật Hàn Quốc được những chuyên viên phun xăm có tay nghề cao
Using delay() to show elements in sequence fails
I have a button and an unordered list with its items hidden: <button>Show</button> <ul id="letters"> <li>A</li> <li>B</li> <li>C</li> </ul> The CSS: #letters li { display: none; } I want to show elements in sequence o button click. My script: var showLetters = function () { var letter = $('#letters').find('li'); letter.each(function() { $(this).delay(2000).fadeIn("show"); }); } $('button').on('click', showLetters); The script fades the letters in but NOT in sequence. There is s
Javascript/JQuery/AJAX to PHP & MySql LOTS for data fields individually named....
I need advice for a new project I've completed in a couple old technologies, I want to do with HTML front end to MySql with PHP and Javascript? My problem is the main screen looks like a spreadsheet with 19 rows and various # columns in 4 main forms. I've designed it for PHP and individually named textboxes. Recommnedations for retrieving 57-95 data elements to return to form w/o reloading whole form? Thanks! MtnGolfer?
Function expression vs IIFE
In the first function, which is a function expression, test.init(); is not working. var test = function(){ console.log("variable inside test"); // This is a function inside another function (closure) var init = function(){ console.log("variable inside init"); } // returning an instance of init method will expose it to the closure. return{ init:init } } test().init(); // working test.init(); // not working - WHY? But in the following function, which is an IIFE test.init();
Next Page