Viewer for PDF with jquery

0

How do I open PDF in google chrome by jquery without the need to install plugins? There is no need for source code, just how should I do it. It could be a link and etc ...

    
asked by anonymous 23.10.2015 / 17:11

2 answers

1

I created a link pointing to a pfd and I used the target="_blank" option to open it in a new tab.

Try:

<a href="https://gradcollege.okstate.edu/sites/default/files/PDF_linking.pdf" target="_blank">Clique aqui para ver o link</a>
    
23.10.2015 / 17:54
0

Marconi, I'll see your example. This way here I got on the internet, it worked, using a guy called ZohoViewer.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script type="text/javascript" src="jquery.min.js"></script>
    <script type="text/javascript" src="jquery.zohoviewer.min.js"></script>
    <script>
        $('a.embed').zohoViewer();
    </script>
</head>
<body>
    <a href="Files/ISS.PDF" class="embed">Read PDF File</a>
</body>
</html>
    
23.10.2015 / 18:44
___ ___ erkimt manage Multiple WindowsForm SplitContainer ______ qstntxt ___

I have multiple windowsforms inside a SplitContainer, one of them, I have a ListBox.

That is, outside the SplitContainer, on Form1, has button, when I click it, I want to add a text in the ListBox inside the SplitContainer on Form2

When I click the button, nothing happens! < Here is the error.

Form1Load:

%pre%

Button1code(ERRORishere):

%pre%    
______azszpr94312___

Of course it will not add, you are using %code% as if it were a static member, when re-creating the object with %code% will appear the item that you defined. It's like a pre-addition.

To solve this you should create a reference to the created member, follow the example below:

%pre%

To add the item to the ListBox, do the following:

%pre%     
___ Paging with codeigniter