jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for SimonIoa

Hello i want to put some html content on a lightbox pop up window, not just an image i use this script <a class="example-image-link" href="img/demopage/image-2.jpg" data-lightbox="example-2'cxxzxzzx'" data-title="Optional caption.'cxxzxzzx'"><img class="example-image" src="img/demopage/image-2.jpg" alt="image-1"/></a> this pop ups image2.jpg i want the window to show some html content like this <div > <span>html content</span><br …

Member Avatar for SimonIoa
0
260
Member Avatar for UK-1991

I created a rating system where users can rate the posts, but I want to make it restrict like one user can only rate the post once I beleive my punctuation is better to be understandable like before as I got many negative feedbacks here but I am trying to …

Member Avatar for Member #120589
0
311
Member Avatar for Nkondola

The below code insert comment and display right. I want to add like button, share button, follow button .And it must be in array when the story is displayed must be attached with comments,like,share and follow button. Help me how can i put that in code . Thanks

Member Avatar for Member #120589
0
73
Member Avatar for Edmund_1

Hello All, I very new to Java, JSP, MySQL and Google Charts [about 45 days experience]. I've been using the Netbeans IDE to create JSP's for interaction with a MySQL data base as part of a Linux based LAMP server that I've constructed. I've got a database that records event …

Member Avatar for Edmund_1
0
441
Member Avatar for perez-martin

I use a Shield UI Chart for displaying some forex data. I do need to gradually add data to the chart in other dynamically add points. However according to the documentation, there isn’t the possibility for dynamically adding of points, at least I can’t see such method, something like: AddPoint …

Member Avatar for baker-thomas
0
263
Member Avatar for yankeefan24

I added input-group to my textarea to fix a text overlapping once the form was submitted. Now I cannot type anything in the textarea on IE9 it works on every other browser even IE 6. Any body has ran into a problem like this? Bellow is a code snippet <cf_yrmc_input …

Member Avatar for Member #120589
0
375
Member Avatar for pro-tek
Member Avatar for Member #46692

Hi, I can successfully use the upload form in codeigniter without jquery/ajax, trouble is I need it for a rich text editor. Any ideas how to go abou this. Ta.

Member Avatar for Freddy_2
0
4K
Member Avatar for davy_yg

Hello, There is something strange about this website link: http://www.innovation.web.id/One/team-members.php The slides only works well on localhost IF I turn of the javascript. but only on localhost. NOT on online. I wonder why? I am taking the sliders from : http://flickity.metafizzy.co/ nav.php <link rel="stylesheet" href="bootstrap-3.3.5/css/custom.css" media="screen"> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script …

Member Avatar for Member #120589
0
316
Member Avatar for Liang_1

Dear all, I am developing a website which can upload photos and also uploading Name, Descrptions etc using one form and one "submit" button. I found this below: http://plugins.krajee.com/file-advanced-usage-demo#comments The Example has some codes but I am not sure how to put it into a HTML Form and submit to …

Member Avatar for Liang_1
0
1K
Member Avatar for joseph.lyons.754

I needed a grid layout to display some images. I found this one online http://alijafarian.com/demos/responsive-image-grids-using-css Its displays but not like it should. Through a process of elimination i figured it was a js file causing this, two to be precise. init.js & skel.panel.min.js These js file came with the template …

0
353
Member Avatar for UK-1991

Hello, I have just created a form and the form data is submitting using Ajax as I wanted the user to be on the same page after he submits the form as there are bootstrap accordian tabs data is submitting properly and retriving as well no problem but when the …

Member Avatar for UK-1991
0
471
Member Avatar for sandipan.rcciit

hi i used a javascript countdown timer as: [CODE]<form name="counter"><input type="text" size="8" name="d2"></form> <script> <!-- // var min=5 var seconds=0 document.counter.d2.value='5' function display(){ if (seconds<=0){ min-=1 seconds=60 } if (min<=-1){ seconds=0 min+=1 } else seconds-=1 document.counter.d2.value=min+":"+seconds setTimeout("display()",1000) } display() --> </script>[/CODE] for clock ticking purpose. and [CODE]<SCRIPT LANGUAGE="JavaScript"><!-- setTimeout('document.tform.submit()',300000); //--></SCRIPT>[/CODE] …

Member Avatar for farah ashikin
0
1K
Member Avatar for AntonyRayan

In a table, I show S.No , Name , Amount, Payable Amount, Balance Amount dynamically. So I need a calculation to show balance amount by subtracting payable amount with amount for all textboxes in onblur dynamically. Here is my code. But it does for only the first row, and how …

Member Avatar for jkon
0
320
Member Avatar for SimonIoa

Hello i want to make a script so that users can record audio through their mic. I found this online https://github.com/streamproc/MediaStreamRecorder/blob/master/demos/audio-recorder.html but i how i can make the recorded audio to be stored on a table on my database?

Member Avatar for SimonIoa
0
2K
Member Avatar for G_Waddell

Hi All, This issue keeps reocccuring and I can not for the life of me figure out why. When I add ANY AJAX control to my ASP.Net project, I end up getting an error that a reference in the designer is not defined. For example, if I add an UpdatePanel, …

0
156
Member Avatar for UK-1991

Hi, I am trying to submit data and saving it to the database queries are inserting properly but the problem is that when I try to insert the data the message column Let suppose i Type in Hello World! In data base it show as undefined whhy is that so …

Member Avatar for UK-1991
0
138
Member Avatar for Vishnu_5

**Plz provide me a complete example of "Passing specific table row data in Bootstrap Modal" i.e on clicking edit link of a specific record, details for that record should be displayed in modal Table data is fetched with PHP from MySQL database. Plz help me out...**

Member Avatar for Tpojka
0
102
Member Avatar for gogs85

How to make popup login and register from index.php to work and to parse data in mysql I have: Index.php, login.php, register.php In index.php I have modal popup and I want to user can login and register from popup. I try with ajax but not working. Here is my code: …

0
127
Member Avatar for london-G

Hello, I have this code here. I am trying to show the different options with radio box. There is something wrong in my code, however I can't figure out what it is. Any help? <div id="questions"> <p><img src="images/pic_survey.jpg" width="279" height="104" alt=""/></p> <p>Please take our five second survey!</p> <h3 class="hSubtitle">Question 1</h3> …

Member Avatar for london-G
0
185
Member Avatar for AntonyRayan

Focus not working. What is the error in my code Dynamic Textbox Code: select query $i =1; while() { <input type="text" name="class_teacher_entry[]" id="class_teacher_entry<?php echo $i; ?>" class='marks' size="5" maxlength="3" onkeypress="return onlyNumbers(event);" onblur="markValidation(this.value,document.getElementById('marktotal').value,<?php echo $i; ?>);"/> } <Script> function markValidation(a,b,i) { var c = parseInt(a); var d = parseInt(b); if(c>d) { …

Member Avatar for AntonyRayan
0
123
Member Avatar for davy_yg

Hello, I would like to erase the numbers list 1-4 in this sliders (Any clue how to ?) : http://www.innovation.web.id/slider2/ slider2/index.html <html> <head> <!-- jQuery library (served from Google) --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <!-- bxSlider Javascript file --> <script src="jquery.bxslider.min.js"></script> <!-- bxSlider CSS file --> <link href="jquery.bxslider.css" rel="stylesheet" /> <script> $(document).ready(function(){ …

Member Avatar for gentlemedia
0
235
Member Avatar for nosfa

Hi. When trying to pass a parameter to the mehod I get error: not found I've been trying other url syntaxes (@url.action) but to no avail also. script inside input/index view <script> $(document).ready(function () { $("#btnSubmit").click(function () { var presc1 = $('#p1').val(); $.ajax({ type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", …

Member Avatar for nosfa
0
229
Member Avatar for nosfa

Hi. In my MVC project I have a button that has to trigger a script. As it happens the page doesn't listen to the event. I put the script in my view where the form is. this works <script > alert("it worked"); </script> this doesn't work <script > $(document).ready(function () …

Member Avatar for nosfa
0
158
Member Avatar for nosfa

Hi all. I cannot pass the values from the textboxes onm a form to the controller. view code <script type="text/javascript"> $(document).ready(function () { $("#btnSubmit").click(function () { var presc1 = $('#p1').val(), aviad1 = $('#a1').val(), $.ajax({ type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", url: "comparar", data: "{'presc1':'" + presc1 + "', 'aviad1':'" …

Member Avatar for nosfa
0
233
Member Avatar for luislupe

Hi, I'm trying to .push several urls to a global variable inside a function of a javascript and casperjs script. The global variable does not seem to be filled with the data. var page_links = ['http://www.olx.pt']; var product_links = []; casper.start(); function spider(url) { casper.open(url).then(function() { var pager = this.evaluate(getMorePages); …

0
191
Member Avatar for new_2_java

Hello everyone, I have 2 JSP files, lets call it 1.jsp and 2.jsp. I have a javascript function in my 1.jsp file, that I am calling 2.jsp, and passing one argument. as follow: 1.jsp function call1Servlet () { var myId = document.getElementById('lblId').textContent; window.open("/myapp/2.jsp?myId="+myId, "", "toolbar=no,menubar=no,resizable=no,scrollbars=yes,width=1024"); } Now, in my 2.jsp …

Member Avatar for FarrisFahad
0
173
Member Avatar for WebMedia_1

Hi guy for part of my school final project, pls i need a script to restrict user from clicking a web page session and redirect them to login with alert of 5 seconds. Let me explain it very well, there is a school project im working on now that has …

Member Avatar for Member #120589
-1
451
Member Avatar for fabzster

Hi I am using razorflow chart software to create a dashboard, this works perfectly on my dev server(Locally) but when I upload it to hosted server(Web) it does not load properly. https://www.razorflow.com/ I get the following errors: value is not a number Uncaught TypeError: Cannot read property 'split' of undefined …

0
114
Member Avatar for Shunya

how to create a program that simulates the process of dealing cards from a 52-card deck by generating 1,000 random integers in the range 1-52 assuming the numbers 1-13 are clubs 14-26 are diamonds, 27-39 are hearts, and 40-52 are spades displaying number of times each suit occurred in the …

Member Avatar for Member #120589
0
896
Member Avatar for jmann22

I've tried several ways to attempt to disable parallax scrolling when the window is resized below a certain size but have been unsuccessful. I've tried if else statements, self invoking functions and functions that call another function depending on screen size but they are not responsive meaning that I am …

Member Avatar for gentlemedia
0
148
Member Avatar for UK-1991

Hello, I have created many functions and I am trying to show messages ie when user successfully registered invalid username password invalid this and that I tried to do so using the session_start concept please let me know if this is a good approach or should i do another way …

Member Avatar for cereal
0
280
Member Avatar for Tierra

Our teacher wants us to put this in a nested loop but didn't explain how to do it at all, can anyone explain this to me with visuals? Step by step would be great, but I understand if that's way too much. 1 212 32123 4321234 543212345 65432123456

Member Avatar for JamesCherrill
0
231
Member Avatar for Siberian

How would one write a pseudo:after css element as a HTML tag place it specifically in the mark-up then create a css rule all at the start of the loading of the DOM ?

Member Avatar for gentlemedia
0
289
Member Avatar for UK-1991

Hello, Recently I wa trying to develop an audio player of sound cloud as I got inspiration from here http://en.israelstory.org/episode/whats-love-got/ you can click file 1 by 1 and notice on the player hw is it playing I also tried to do the same but it's not orking when I clicked …

Member Avatar for Member #120589
0
181
Member Avatar for dawbin

I need to get user manipulated data out of my WinJS listview and convert it to JSON, but I can't figure how to access the data? Any help would be appreciated!

0
231
Member Avatar for davy_yg

Hello, I would like to create FAQ with a dropdown text if I click the > and it should open a new text sentence right underneath it. Could anyone teach me or advice me where to find a jquery like that? + Far far away, behind the word mountains, far …

Member Avatar for pritaeas
0
649
Member Avatar for ramsiva

<script> $(function() { $( "#city_name" ).autocomplete({ source: 'search.php' }); }); </script> any body help pass parameters to search.php

Member Avatar for Dani
0
168
Member Avatar for furlanut

I am persevering with Javascript slowly, and attempting to modify a code I saw that I thought would work for me - click to change/enlarge image and attach appropriate caption. I have: function showPreview(path){ var theImageElement=document.getElementById("img"); var theCaptionElement=document.getElementById("legend"); theImageElement.src = path; /*if(path == "../WSRUxhtml/photo/LImg/Barfleur.jpg"){ theCaptionElement.innerHTML="Barfleur arriving at Portsmouth"; } else …

0
159
Member Avatar for dawbin

Does anyone have a pure JavaScript sample of an http GET that works in the Microsft Edge browser?

0
101
Member Avatar for davy_yg

Hello, I would like to know if you could help me figure out where does the faq comes from? I do now know how modify the faq any clue how to do it? http://tutorialzine.com/2010/08/dynamic-faq-jquery-yql-google-docs/ I have downloaded the demo and could not figure out how to change the faq. Thanks …

Member Avatar for Member #120589
0
203
Member Avatar for ramsiva

I have two dates var date1="2015-09-18 06:08:50"; var date2="2015-09-18 06:08:51"; I am suffering to get greater one date2. any body help me.

Member Avatar for cereal
0
112
Member Avatar for Aeonix

Doesn't exist. But I would love that it did. 2 days ago, I made search for it, I found this one pearl of a function, you just called it and it would perform just that. Today, I can't find it for heavens. I have been through about 5 fiddle's, about …

Member Avatar for Dani
0
3K
Member Avatar for PulsarScript

Hi all.I got task to do,here are the details: A social network service consists of a representation of each user (often a profile), his/her social links, and a variety of additional services Registered users may register and set up a PROFILE/ home page, photo etc. Please advise the steps,how it …

Member Avatar for midastouchwebs
0
166
Member Avatar for phoenix254

How can i create a custom protocol with ws scheame ? ex: ws://localhost/echo or ws://localhost:8080/echo with node js ?

Member Avatar for mcglk
0
159
Member Avatar for VarunPes

I am using javascript, Html, css, Bootstrap,than i want to implement customise product like upload photo on mug, t-shirt and other products. Than suggest me, how to implement this fearture.

Member Avatar for Петя
0
221
Member Avatar for Violet_82

HI, I've just run into something peculiar. Let me explain the functionality of the site I'm working on first http://antonioborrillo.co.uk/agency_test/home.html . Every time the site gets resized - if you resize the browser window or if you change orientation on the device you 're using - I recalculate the height …

Member Avatar for Violet_82
0
216
Member Avatar for phoenix254

Hello everyone, I would like to ask you guys that suppose i have an app that i devloped in nodejs and listening on port (3000) , in client side i have added (var io = io.connect();)and domain name is www.domainname.com That node app I developed, I test im my local …

0
92
Member Avatar for ramsiva

I am using so much jquery code in my php page and add text boxes using var newTextBoxDiv = $(document.createElement('div')) .attr("id", 'abc' + nextcount); newTextBoxDiv.after().html( ); echo "<script>window.location='abc.php?a=data&b=data1&c=data2'</script>"; finaly all text boxes with jquery code coming on browser after submitting. please any body help to solve this problem .(after submitting …

Member Avatar for cereal
0
162
Member Avatar for LibraryCode

Hi,i have a table like this : <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title></title> <style> table{border-collapse: collapse;} tr th, tr td{border: …

Member Avatar for LibraryCode
0
974

The End.