Lắp Mạng Internet FPT Quận Tân Bình, Tp Hồ Chí Minh
Tan Binh la mot trong nhung quan noi thanh phat trien tai tp Ho Chi Minh. Trai qua 5 nam qua, phat huy truyen thong cach mang kien cuong, Dang bo, chinh quyen va nhan dan quan Tan Binh da doan ket, nang dong, sang tao, tu luc, tu cuong vuot qua kho khan, no luc hoan thanh cac chi tieu Nghi quyet Dai hoi lan thu X de ra. Kinh te cua quan van tiep tuc tang truong, co cau kinh te chuyen dich dung huong, khu vuc thuong mai - dich vu tang binh quan 31,31 %/nam, kim ngach xuat nhap khau tang binh quan
Lắp Mạng Internet FPT Nhà Bè, TP hồ Chí Minh
Nha Be mac du tiep giap khu Phu My Hung, quan 7 va mot so quan huyen khac co tiem nang phat trien cuc lon do thua huong theo su phat trien lan truyen cua khu quan 7 nhung hien tai dat nen Nha Be cung chi moi duoc quan tam trong thoi gian gan day. Co so ha tang cua huyen Nha Be dan duoc Nha Nuoc phat trien, cac khu dan cu cung duoc xay dung nhieu hon, cac quy dat duoc cac nha dau tu quy hoach phan lo, nang cap giao thong, ... Noi rieng giai doan tu nam 2012 den nam 2015 gia tri dat nen cua khu vuc
After refreshing page - no change
Good day, I have a simple code by using jQuery. => after click on button I hide() a div part. But after refreshing page this div part appear again ... so ... it is possible for this div to stay hidden? Sorry for my english, but I hope u understand me :-) Simple code Thanks for answers.
I am trying to get an accordion style menu to stay open when a link is clicked.
Let me see if I can explain this. The site is: https://spraybooths-com.3dcartstores.com/ On the left side bar you will see a menu titled Our Products. The top two categories have sub cats and some of the subcats have further sub -cats under them. IF you open up two or three layers deep in one of these items, then click on an individual item the entire menu closed back down. I would like for it to stay open unless the user clicks on another expandable item. This site is build on the 3D cart store
HELP!! Carousel Image
I have this set of codes.. (please see the attachment) I need the arrows in my navigators, when clicked, it will go in the next image or previous image. can someone provide me the codes for that? currently developing my company's website. thank you! just a newbie here!
Make a div draggable
Here is a JS code that causes any div, on which the cursore moves, to change its color according to the css(see bellow the JS code). Can someone modify this code so that the corresponding div becomes also graggable? I mean that clicking on the div will make it graggable anywher on the vieport. Thanks in advance I. Sher JS code: prevElement = null; document.addEventListener('mousemove', function(e){ varelem = e.target || e.srcElement; if (prevElement!= null) {prevElement.classList.remove("mouseOn");}
carousel with rotating text
Hello everyone! I'm stuck with this, and I was wondering if someone can help me. - I have a carousel with id: #myCarousel with x children with class name .image - I have a text box children of #footer with the class .textCarousel and it has as much children as pictures are with name class .infoBox - I have a second text box in the same#footer with name class .infoDetails The job is: the carousel appears in the home page. Each picture has a .infoBox and .infoDetails boxes with different information.
two condition for Validation length
Hello friends, telephone: {required: true,rangelength: [6, 11],number:true} telephone number length must be 6 or 11! NOT 7,8,9,10 How can I do that?
Using ajax to check for changes on server
I'm trying to use ajax to check every 5 seconds if content on my server has changed since the user loaded it. I understand I must use advanced HTTP caching to make sure my server isn't hammered down to the ground because of this. My server is set up to return the `Last-Modified` HTTP header, including `302 Not Modified` if that is the case. On the client-side I've set `ifModified: true`, as well as `If-Modified-Since` in `beforeSend` to the value of `Last-Modified`. But I'm having trouble understanding
File upload - choose file from Dropbox, Google Drive etc
Hello, I have a jquery mobile site and it has a requirement to allow the use to upload a file (Word or PDF). Since these are unlikely to be on the phone, or if they are the phone will not allow file system access we want to have the user choose a file from their Dropbox (or Google drive or as many similar services as possible). So the workflow is something like: user taps on a "upload" button, gets to choose from Dropbox etc, selects a file from Dropbox which is sent to the server that runs the mobile
mask all entered text in textarea in password format e.g. ********
<textarea id="txt_area" class="TextArea" name="textarea" maxlength="256"></textarea> at run time when user try to enter anything inside the above text area, it should display password format or special characters e.g.: **
modificar valores div en nueva pagina funciona con ie pero en chrome no funciona por?
<script type="text/javascript"> $(document).ready(function() { $("#submit0").click(function () { valores = document.getElementById("facprofor").outerHTML; nueva = window.open("Detallfac.aspx", "_blank", "toolbar=yes, scrollbars=yes, resizable=yes, top=5, left=250, width=950, height=800"); nueva.document.getElementById("facproforr").innerHTML = (valores); //nueva.document.write(valores); nueva.window.focus; cuestFinal = true; }); });
convert TextArea text to password type
<textarea id="abc"/>
List Task Creation in Shaerpoint Server using REST API
Hi guys my task is to create a task in list in sharepoint sever 2013 using REST concept..I tried this code but i don't know where i am lagging..My code is function createListItem(webUrl, listName, itemProperties, success, failure) { alert("hoi hello method"); $.ajax({ url: webUrl + "/_vti_bin/listdata.svc/" + listName, type: "POST", processData: false, contentType: "application/json;odata=verbose",
Issue on Renaming Image File On Upload Using jQuery Ajax
I am trying to Rename an image when uploading it. I have a text field with id of newName now I would like to pass it into FormData ( ) and over write it on the file name in the PHP file Here is the the code I have <input type="text" id="newName" /> $(document).ready(function (e) { var newName = $("#newName").val(); $('#imageUploadForm').on('submit',(function(e) { e.preventDefault(); var formData = new FormData(this); $.ajax({ type:'POST', url: $(this).attr('action'), data:formData, cache:false,
[question] stop .animate if x.top > 200
question: When a lion and a tiger meet, can they stop???? http://jsfiddle.net/jsfiddle135/f4qjadvL/2/ $(document).ready(function() { $("#meet_liontiger").bind("click", function() { var lio; $("#lion").animate({top: 30 }, 3200, function(){ lio = $(this).position(); }); //top:420, left:0 $("#tiger").animate({top:500}, { //top:20, left:0 speed: "slow", step: function(top) { if
trigger works with button click but no with document ready
I have some checkboxes which trigger an ajax search. I want to check the boxes automatically and trigger the search. If I run the triggers from a button click, it works fine. But if I add them to the initial load function, the checkboxes are checked but the triggers don't work. Why? Here is the code first I uncheck all the boxes. jQuery( "[id^='radio_']" ).prop('checked', false ); Then I trigger checking certain boxes. jQuery('#radio_2155').trigger('click'); jQuery('#radio_1775').trigger('click');
Jquery says 'a.split is not a function'
i'm trying to make an adress book using team leader. I can perfectly open the first item, but everything after that can't open. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css"> <?php error_reporting(E_ALL); ini_set('display_errors',
This add(var a, var b) doesn't work. Why??? So simple funciton
<!DOCTYPE > <html> <head> <title>Loop through an array using jQuery</title> <script src="https://code.jquery.com/jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { function myFunction( var a, var b) { //Without var, the function works fine!!!!!! return a + b; } var m=0; $('# iknow').click(function(){ m=m+1; var k = myFunction('king', m); alert(k); }); }); </script> </head> <body> <button id ="iknow">
How to target an identifier that is not loaded into the DOM?
With AJAX, I want to change content of a div. But this div is loaded by another Ajax Script. This content has a SELECT INPUT. To target, if i use : $(''#id_select').on('change', function(){---}); #id select isn't found. But if i use : $('#id_container').on('change', '#id_select', function(){...}); It's ok. No problem for this. But then, i have to change html data on a div, with : $('#search_modele').html(data); But #search_modele isn't found. How can i do ? Thanks a lot for saving my life :)
slideToggle: problem with positioning of the to be increased DIV box
Hello, I'm using jQuery version 2.1.3 and the slideToggle function. During the sliding effect, the div box "mycontainer" in the example below is increasing but not correctly: at the beginning, the div box will be increased to its maximum height. At the end, the complete div box is moved some pixels upwards. It looks like that the box will be repositioned at the end - or - the upper left corner at the beginning of the sliding down effect is not correctly calculated. Here a HTML sample: <!DOCTYPE html>
Make child DIV larger than parent DIV with jQuery
Hi, This has been a discussion that I have found all over the web with no solutions yet, but I refuse to believe that its impossible, especially with using a bit of jquery magic :) The problem: I want to make the Child Div of a fix width Parent 100% width, like so: I know that with CSS this is partially achievable: .child-div{ position: absolute; left: 0; right: 0; } .parent-div{ position: static; max-width: 900px; } But the issue I'm having is that I can't actually change the position: static; prooperty
This easy animation doesn't work?
http://jsfiddle.net/jsfiddle135/2g138o5m/2/ What I want is: 1) Each time a user clicks $(#fly).click, the related div shall go up. 2) Then it shall set its css to the original position. Why doesn't this work?
Issue on Ordering - Indexing Multidimensional Array
Can you please take a look at This demo let me know how I can force Javascript to push the items into the array based on the items id? <!-- begin snippet: js hide: false --> <!-- language: lang-js --> var theArray = [ ["A", "B", "C"], ["D", "E"], ["F", "G", "H", "I"], ["J"], ["K", "L", "M"] ]; var res = theArray.toString(); $('#textarea').text(res); $("input[name='m1']").change(function () { if ($(this).is(':checked')) {
Reposition Div text when div is scrolled based on the visisble viewport of the div
Is it possible to reposition the text inside a div which has scroll and recalculate the the position of the text based on the visible section . eg: the text needs to appear 100px; from left or text -align:left but once the div scroll the text doesn't move.I have tried using the within viewport plugin of jquery and reposition with css("left","100px") ;
Having a problem with jQuery when displaying error message.
Hey guys, I am having a problem with displaying an error message in form validation, specifically line 68. I am trying to take my var errorMessage and do a function that displays both error messages. any ideas? code is this:<!doctype html> <html> <head> <title>test</title> <meta name="description" content="Colin Portfolio"> <meta name="author" content="SitePoint"> <meta charset="utf-8"> <script type="text/javascript" src="jquery.min.js"></script> <link rel="stylesheet" href="mystyle.css"
Download CSV file through ajax post
Hi there, I'm just trying to download a file generated from PHP with ajax. Even if I set headers PHP and contentType in Ajax parameters, I have still an issue as I can't have my response in a file but in my callback success as a parameter. NB: I must send a lot of data with ajax, so I have to use POST method. My PHP code : <?php header('Content-type: text/csv'); header('Content-disposition: attachment;filename="' . $csvFilename . '"'); echo $csvContent; return; ?> My JS: $.ajax({ url: url,
Pass controls as attributes to jquery funtions
How can I pass a control as a function attribute? In my case I would like to pass txtDirections and charStatus. Thanks $(document).ready( function () { $( '.txtDirections' ).keyup( function () { var maxLength = 1000; var textlength = this .value.length; if (textlength >= maxLength) { $( '#charStatus' ).html( 'You cannot write more then ' + maxLength + ' characters!' ); this .value = this .value.substring(0, maxLength); e.preventDefault(); } else { $( '#charStatus' ).html( 'You have ' + (maxLength
How to Delete Row using jquery Ajax
How to Delete Row using Id var row = $(this).closest('tr'); $.ajax({ url: "/Course/Delete", type: "POST", ajaxasync: true, data: {Id:1}, ///Manually provided success: function () { row.remove(); location.reload(); alert("success"); }, error: function (xhr, ajaxOptions,
change the bg color of a container div class depending on a value of child class
For the below codes, i want the bg color to be changed 1) to yellow for the class ms-acal-item if <a>Pending.... 2) to red for the class ms-acal-item if <a>Rejected.... 3) to green for the class ms-acal-item if <a>Accepted.... how do i achieve it, please help <div class="ms-acal-item"> <div class="ms-acal-sdiv"> <div class="ms-acal-title"> <a>Pending - Loren Ipsum1 </a> </div> </div> </div> <div class="ms-acal-item"> <div class="ms-acal-sdiv"> <div class="ms-acal-title"> <a>Approved - Loren Ipsum2
dynamic list with null value in jquery
I've a function to make a dynamic list. $sel = $('<select id="Addlst">').appendTo($td); $.each(TableStruct[post].Liste, function (ind, value) { $('<option ' + (ind == 0 ? 'selected="selected "' : "") + ' value="' + value + '">').html(ind).appendTo($sel); }); I use value is a nullable(of integer) VB.net side. In 99.9% of cases, I've no problem. But when I've null value (it's for ranking product) My root is null in DataBase. Then when I ask $('#Addlst').val(); ... I've "null". Someone can help me?
Looping by setInterval
http://jsfiddle.net/jsfiddle135/gbh5ejjv/ If I press time_up button, each apple array moves up every 3 second. It's difficult to find out clues. Best regards,
Adding Dynamically ?
Im trying to add a newly created dynamic div to the page without reloading the page. The code is --> $.post('sampleInsert.php',function(data){ if(data.value){ alert('Inserted'); location.reload(); //Instead of reloading the page is there anyway adding without reload? }else{ alert(data.Message); } },'json'); If i append the value what should i append (data ?) . var html = ''; $.post('sampleload.php',function(data){ $.each(data, function( index, value){ var divid = value.ItemID;
.text() resulting in redundant text
So i'm trying to implement an edit comments functionality : There's a p tag. I click on it and change the comment on it and click on a button . On the button click i'm trying to get the newly edited text. But it gives a result where in the old text is appended to the newly edited text .
.animate() in ASP.NET MVC not working on every page, any ideas?
I am using .animate on the master layout page of an MVC application. All javascript and the divs it manipulates are in the _layout.cshtml page.... the animation works flawlessly on the home page, but if the page is changed, the .animate bits won't work but the .removeClass/.addClass/.html still work. I initially though it was a binding issue, so I unbound all the event handlers on a redirect and rebound them on page load.....still doesn't work. Does anyone have any ideas? jQuery $(".navbar-brand").click(function () {
var windowWidth = $(window).width();
if (windowWidth > 500) {
var width = $(".sidePanel").width();
width = width * -1;
if ($(".sidePanel").hasClass('active')) {
$(".sidePanel").removeClass('active');
$(function () {
$(".sidePanel").animate({
left: width
}, 500);
$(".container").animate({
left: width,
width: windowWidth
}, { duration: 500, queue: false });
});
When the page loads the first time the links don't work
Hi I have the following code with Jquery, and when the fee the first time in the browser and I click on the links do not work but if I click several times all goes well, this happens. The first time when I clic on the link "Move me" you can see in the page: Resultado = filaX.undefined and nothing happen but the second time whe I clic on the link work fine This is the code: <html> <head> <link rel="stylesheet" href="css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet"
Why I can't choose 2016
Hi, I have a datepicker like this: <input type="text" id="dateFrom" name="dateFrom" readonly required /> and: <input type="text" id="dateTo" name="dateTo" readonly disabled required /> and I have the below code for it but I don't know why I can't choose 2016? <script type='text/javascript'>//<![CDATA[ // $(window).load(function(){ $(function() { var fromDate = $("#dateFrom").datepicker({ defaultDate: "+1w", dateFormat: 'dd-M-yy', changeMonth: true, numberOfMonths: 1,
How to make multiple ajax call in page load
Hi, I have a page with several dropdown lists. I need to make around 7 ajax get calls to get the data and bind different dropdowns. Each dropdown is filled by getting data from Url. Is there any way to get the data in one Ajax call rather than multiple ajax calls. Could you provide me any examples, links
Setting Up Multiple Event Responses using named functions
I am trying to change this : $( "p" ).on({ "click": function() { console.log( "clicked!" ); }, "mouseover": function() { console.log( "hovered!" ); } }); To look like this: $( "p" ).on({ "click": fnOne(); }, "mouseover": fnTwo(); } }); function fnOne(){ alert("click"); } function fnTwo(){ alert("click"); } But it does not work. How can I make it work?What would be the right way to do this?
Perform Click on Submit
Hi, I have below code. I am using a button to sign in but now I want to perform the button click when the user submit the form by pressing enter on the txtLoginName or txtPassword. How can I do this please? $('#btnSubmit').click(function () { $("#wrapper").hide(); $("#gradient").hide(); $("#wait").show(); $.ajax({ type: 'POST', url: "login_user.php", data: $('#login-form').serialize(), success: function() { window.location.href = 'my.php'; }, error: function(jq,status,message) { alert('A jQuery error
Next Page